Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:798ʿUthmān b. Abū Shaybah > Ismāʿīl b. ʿAyyāsh > ʿUmārah b. Ghaziyyah > Anas b. Mālik > ʿUmar b. al-Khaṭṭāb

The Prophet used to say: "Whoever performs prayer in congregation at the mosque for forty nights, never missing the first Rak'ah of the 'Isha' prayer, Allah will thereby decree for him salvation from the Fire."  

ابن ماجة:٧٩٨حَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ حَدَّثَنَا إِسْمَاعِيلُ بْنُ عَيَّاشٍ عَنْ عُمَارَةَ بْنِ غَزِيَّةَ عَنْ أَنَسِ بْنِ مَالِكٍ عَنْ عُمَرَ بْنِ الْخَطَّابِ

عَنِ النَّبِيِّ ﷺ أَنَّهُ كَانَ يَقُولُ مَنْ صَلَّى فِي مَسْجِدٍ جَمَاعَةً أَرْبَعِينَ لَيْلَةً لاَ تَفُوتُهُ الرَّكْعَةُ الأُولَى مِنْ صَلاَةِ الْعِشَاءِ كَتَبَ اللَّهُ لَهُ بِهَا عِتْقًا مِنَ النَّارِ  


See similar narrations below:

Collected by Suyūṭī
suyuti:22013a
Request/Fix translation

  

السيوطي:٢٢٠١٣a

"مَنْ صَلَّى فِي مَسْجِد جَمَاعَة أَرْبَعِينَ لَيلَةً لا تَفُوتُهُ الرَّكْعَةُ الأولَى مِنْ صَلاةِ العِشَاءِ كَتَبَ اللهُ لَهُ بِهَا عِتْقًا مِن النَّارِ".  

[هـ] ابن ماجة والحكيم عن عمر
suyuti:22014a
Request/Fix translation

  

السيوطي:٢٢٠١٤a

"مَنْ صَلَّى فِي مَسْجِد جَمَاعَة أَرْبَعِين لَيلَةً لا تَفُوتُهُ الرَّكَعَةُ الأُولَى مِنْ صَلاةِ الظُّهْرِ كَتَبَ اللهُ لَهُ بِهَا عِتْقًا مِن النَّار".  

[هب] البيهقى في شعب الإيمان وابن عساكر وابن النجار عن عمر