Jami` at-Tirmidhi 241
Grading supplied with this record: Da'if (Darussalam)
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
مَنْ صَلَّى لِلَّهِ أَرْبَعِينَ يَوْمًا فِي جَمَاعَةٍ يُدْرِكُ التَّكْبِيرَةَ الأُولَى كُتِبَتْ لَهُ بَرَاءَتَانِ بَرَاءَةٌ مِنَ النَّارِ وَبَرَاءَةٌ مِنَ النِّفَاقِ "
Anas bin Malik narrated that :
Allah's Messenger said: "Whoever performs Salat for Allah for forty days in congregation, catching the first Takbir, two absolutions are written for him: absolution from the Fire, and absolution from the Fire, and absolution from hypocrisy."
Full reference and source
Jami` at-Tirmidhi 241 In-book : Book 2, Hadith 93 English translation : Vol. 1, Book 2, Hadith 241
View source on Sunnah.com (opens in a new tab)