Mishkat
al-Masabih
مشكاة المصابيح
Jihad
كتاب الجهاد
Chapter 1a: (Section III) - Section 1
الفصل الأول
Mishkat al-Masabih 3793
Salman al-Fairisi told that he heard Allah's Messenger ﷺ say, “Being stationed for a day and a night on the frontier in Allah’s path is better than fasting a month and spending its nights in prayer. If one dies he will be rewarded for the deeds he was doing, he will be given his provision, and will be safe from him who tests him.”* * Al-fattan. There is some doubt as to the reference here. It may be the devil, this name being used because he tempts people to sin; or it may mean the one who examines men in the grave. Munkar and Nakir are called fattana'l-qabr, the two who test men in the grave. Muslim transmitted it.
وَعَن سلمانَ الفارسيِّ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «رِبَاطُ يَوْمٍ وَلَيْلَةٍ فِي سَبِيلِ اللَّهِ خَيْرٌ مِنْ صِيَامِ شَهْرٍ وَقِيَامِهِ وَإِنْ مَاتَ جَرَى عَلَيْهِ عَمَلُهُ الَّذِي كَانَ يَعْمَلُهُ وَأُجْرِيَ عَلَيْهِ رِزْقُهُ وَأَمِنَ الْفَتَّانَ» . رَوَاهُ مُسْلِمٌ
In-book reference: Mishkat al-Masabih Book 19 Chapter 1a Hadith 1