‘Amr ibn Hazm reported: The Prophet, peace and blessings be upon him, said, “No believer consoles his brother at the time of calamity but that Allah, glory be to him, will dress him with noble garments on the Day of Resurrection.”
Source: Sunan Ibn Mājah 1601
Grade: Hasan (fair) according to Al-Nawawi
عَنْ عمرو بن حزم عَنْ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ مَا مِنْ مُؤْمِنٍ يُعَزِّي أَخَاهُ بِمُصِيبَةٍ إِلَّا كَسَاهُ اللَّهُ سُبْحَانَهُ مِنْ حُلَلِ الْكَرَامَةِ يَوْمَ الْقِيَامَةِ
1601 سنن ابن ماجه كتاب الجنائز باب ما جاء في ثواب من عزى مصابا
197 المحدث النووي خلاصة حكم المحدث إسناده حسن في الأذكار