Sunan Ibn Majah, Book 24, Hadith 2871 (In-Book)

It was narrated that ‘Abdullah bin Zubair said: “Uthman bin ‘Affan addressed the people and said: ‘O people! I heard a Hadith from the Messenger of Allah and nothing kept me from narrating it to you except for the fact that I did not want to lose you and your companionship. So it is up to you. I heard the Messenger of Allah saying: “Whoever spends a night guarding the frontier in the cause of Allah, it will be like a thousand nights spent in fasting and prayer.”

حَدَّثَنَا هِشَامُ بْنُ عَمَّارٍ، حَدَّثَنَا عَبْدُ الرَّحْمَنِ بْنُ زَيْدِ بْنِ أَسْلَمَ، عَنْ أَبِيهِ، عَنْ مُصْعَبِ بْنِ ثَابِتٍ، عَنْ عَبْدِ اللَّهِ بْنِ الزُّبَيْرِ، قَالَ خَطَبَ عُثْمَانُ بْنُ عَفَّانَ النَّاسَ فَقَالَ يَا أَيُّهَا النَّاسُ إِنِّي سَمِعْتُ حَدِيثًا مِنْ رَسُولِ اللَّهِ صلى الله عليه وسلم لَمْ يَمْنَعْنِي أَنْ أُحَدِّثَكُمْ بِهِ إِلاَّ الضِّنُّ بِكُمْ وَبِصَحَابَتِكُمْ فَلْيَخْتَرْ مُخْتَارٌ لِنَفْسِهِ أَوْ لِيَدَعْ سَمِعْتُ رَسُولَ اللَّهِ صلى الله عليه وسلم يَقُولُ ‏ "‏ مَنْ رَابَطَ لَيْلَةً فِي سَبِيلِ اللَّهِ سُبْحَانَهُ كَانَتْ كَأَلْفِ لَيْلَةٍ صِيَامِهَا وَقِيَامِهَا ‏" ‏ ‏.‏

sunnah.com