Ribat (guarding and vigilance for the sake of Allah) is better than fasting for a month
ذِكْرُ الْبَيَانِ بِأَنَّ اللَّهَ جَلَّ وَعَلَا يُعْطِي بِتَفَضُّلِهِ الْمُرَابِطَ يَوْمًا أَوْ لَيْلَةً خَيْرًا مِنْ صِيَامِ شَهْرٍ وَقِيَامِهِ
Salman passed by ˹Shurahbil˺ while he was stationed for guarding and asked, "What are you doing here, Shurahabil?" Shurahabil replied, "I am performing ribat (guarding) in the cause of Allah." Salman said, "I heard the Messenger of Allah ﷺ say, 'The act of guarding for a day or a night is better than fasting and praying for an entire month.'"
أَنَّهُ مَرَّ عَلَيْهِ سَلْمَانُ وَهُوَ مُرَابِطٌ فَقَالَ مَا تَصْنَعُ هَاهُنَا يَا شُرَحْبِيلُ؟ فَقَالَ شُرَحْبِيلُ أُرَابِطُ فِي سَبِيلِ اللَّهِ قَالَ سَلْمَانُ سَمِعْتُ رَسُولَ اللَّهِ ﷺ يَقُولُ «رِبَاطُ يَوْمٍ أَوْ لَيْلَةٍ خَيْرٌ مِنْ صِيَامِ شَهْرٍ وَقِيَامِهِ»