حَدَّثَنَا أَبُو مَنْصُورٍ الظُّفُرُ بْنُ مُحَمَّدٍ الْعَلَوِيُّ إِمْلَاءً، أنبأ أَبُو بَكْرٍ مُحَمَّدُ بْنُ جَعْفَرٍ الْآدَمِيُّ بِبَغْدَادَ، ثنا أَحْمَدُ بْنُ عُبَيْدِ بْنِ نَاصِحٍ النَّحْوِيُّ، ثنا عَلِيُّ بْنُ عَاصِمٍ، ثنا مُحَمَّدُ بْنُ سُوقَةَ، عَنْ إِبْرَاهِيمَ، عَنِ الْأَسْوَدِ، عَنْ عَبْدِ اللهِ بْنِ مَسْعُودٍ، قَالَ: قَالَ رَسُولُ اللهِ صَلَّى اللهُ عَلَيْهِ وَسَلَّمَ: " مَنْ عَزَّى مُصَابًا فَلَهُ مِثْلُ أَجْرِهِ " تَفَرَّدَ بِهِ عَلِيُّ بْنُ عَاصِمٍ، وَهُوَ أَحَدُ مَا أُنْكِرَ عَلَيْهِ، وَقَدْ رُوِيَ أَيْضًا عَنْ غَيْرِهِ وَاللهُ أَعْلَمُ.
It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever consoles and sympathises with one struck by a calamity will have a reward equal to his."
Only Ali bin Asim narrated it, and it is one of the narrations for which he was criticised; it has also been narrated from others besides him. And Allah knows best.