Sunan Ibn Majah #798
The Book On The Mosques And The Congregations 4:64
It was narrated from 'Umar bin Khattab that:
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."