How to comfort my guy friend who is going through a rough time?

My guy friend and I are classmates. We meet in school and we recently have become good friends. We aren't best friends or anything like that. However, I do value our friendship. He is a nice guy and I appreciate all that he has done for me as a friend. But he is going through a tough time right now. He has some family matters at home and he also recently found out that he failed a class. Now he may have to retake the class. I know he is very stressed with his family matters too. I text messaged him to tell him if he needs a listener, then I will be available. I also told him if he wants space and doesn't want to talk, then that is fine too. I know some guys would want space rather than talk about it. He replied back to my text to thank me for my concern and support. But that was it. I haven't heard from him for a few days. I understand that I should give him space for now, but what can I do after? Should I wait another week to contact him again? Or should I wait for him to contact me? I cherish our friendship and want to help if I can. Can someone give me some advice or opinion? Thanks.
How to comfort my guy friend who is going through a rough time?
Post Opinion