أَخْبَرَنَا أَبُو سَعْدٍ الْمَالِينِيُّ ، حَدَّثَنَا أَبُو أَحْمَدَ بْنُ عَدِيٍّ الْحَافِظُ ، حَدَّثَنَا ابْنُ صَاعِدٍ ، حَدَّثَنَا عَمْرُو بْنُ عَلِيٍّ ، حَدَّثَنَا أَبُو قُتَيْبَةَ ، حَدَّثَنَا طُعْمَةُ بْنُ عَمْرٍو الْجَعْفَرِيُّ ، عَنْ حَبِيبٍ - قَالَ : أَبُو حَفْصٍ وَهُوَ الْحَذَّاءُ - عَنْ أَنَسٍ قَالَ : قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ : " مَنْ صَلَّى أَرْبَعِينَ لَيْلَةً فِي جَمَاعَةٍ كَتَبَ اللَّهُ لَهُ بَرَاءَةً مِنَ النَّارِ ، وَبَرَاءَةً مِنَ النِّفَاقِ " ، .
رَفَعَهُ طُعْمَةُ بْنُ عَمْرٍو وَرَوَاهُ خَالِدُ بْنُ طَهْمَانَ أَبُو الْعَلَاءِ ، عَنْ حَبِيبٍ فَوَقَفَهُ مَرَّةً وَرَفَعَهُ أُخْرَى .
Sayyiduna Anas (may Allah be pleased with him) narrates that the Messenger of Allah (peace and blessings be upon him) said: "Whoever prays forty nights in congregation, Allah Almighty writes for him freedom from the Fire and freedom from hypocrisy."
Tu'mah bin Amr narrated it as marfu' (a saying of the Prophet), and Khalid bin Tahman Abu al-Ala' narrated it from Habib, once as mawquf (a Companion's saying) and once as marfu'.