Hadithcore
Mishkat al-Masabih, 1737

‘Abdallah b. Mas'ud reported God's messenger as saying, “If anyone comforts one who has been afflicted he will have a reward equivalent to his.” Tirmidhi and Ibn Majah transmitted it, Tirmidhi saying this is a <i>gharib</i> tradition which was known to him as traced back to the Prophet (ﷺ) only among the traditions of ‘Ali b. ‘Asim the transmitter. He added that some transmitted it with this <i>isna</i>d from Muhammad b. Suqa in <i>mauquf</i> form.

وَعَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسلم: «من عَزَّى مُصَابًا فَلَهُ مِثْلُ أَجْرِهِ» . رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ وَقَالَ التِّرْمِذِيُّ: هَذَا حَدِيثٌ غَرِيبٌ لَا نَعْرِفُهُ مَرْفُوعًا إِلَّا مِنْ حَدِيثِ عَلِيِّ بْنِ عَاصِمٍ الرَّاوِي وَقَالَ: وَرَوَاهُ بَعْضُهُمْ عَنْ مُحَمَّد بن سوقة بِهَذَا الْإِسْنَاد مَوْقُوفا

References1 variant
In-Book Reference
Book 5, Hadith 209