Mishkat al-Masabih
Mishkat al-Masabih 5383
Arabic hadith text
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صلى الله عَلَيْهِ وَسلم: «بَادرُوا بِالْأَعْمَالِ فِتناً كَقِطَعِ اللَّيْلِ الْمُظْلِمِ يُصْبِحُ الرَّجُلُ مُؤْمِنًا وَيُمْسِي كَافِرًا وَيُمْسِي مُؤْمِنًا وَيُصْبِحُ كَافِرًا يَبِيعُ دِينَهُ بِعرْض من الدُّنْيَا» . رَوَاهُ مُسلم
Translation
It is related from Abu Hurayrah that the Messenger of Allah (may Allah bless him and grant him peace) said: “Hasten to do good deeds before trials like pieces of a dark night. A man may wake up a believer and end the day an unbeliever, or end the day a believer and wake up an unbeliever, selling his religion for a portion of worldly gain.” Muslim transmitted it.