The Messenger of God (peace and blessings be upon him) said:

“If a Muslim consoles his brother during some crisis, God will adorn him in garments of grace on the Day of Judgment.”

Hadith Ibn Majah