عَنْ أَنَسِ بْنِ مَالِكٍ رَضِيَ اللَّهُ عَنْهُ، عَنِ النَّبِيِّ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ أَنَّهُ قَالَ: ”مَنْ صَلَّى فِي مَسْجِدِي أَرْبَعِينَ صَلَاةً لَا يَفُوتُهُ صَلَاةٌ، كُتِبَتْ لَهُ بَرَاءَةٌ مِنَ النَّارِ، وَنَجَاةٌ مِنَ الْعَذَابِ، وَبَرِئَ مِنَ النِّفَاقِ“
It is narrated from Sayyiduna Anas bin Malik, may Allah be pleased with him, that the Noble Prophet, peace and blessings be upon him, said: Whoever performs forty prayers in my mosque in congregation in such a way that not a single prayer is missed, a certificate of freedom from Hell, salvation from punishment, and exemption from hypocrisy is written for him.