It was narrated from Salman Al-Khair that the Messenger of Allah (ﷺ) said:
"Whoever guards Ribat (the frontier) for one day and one night, will be given a reward like that for fasting and praying Qiyam for a month, and whoever dies at Ribat (guarding the frontier) will be rewarded, and he will be given provision, and he will be kept safe from Al-Fattan." [1] [1] According to As-Sindi, the preferred pronunciation is Al-Fattan, plural of Fatan refering to Al-Munkar and An-Nakir, while Al-Fattan would refer to Ash-Shaitan or the like, among the punishment of the grave, or, the angels of chastisement.
Salmān al-Fārisi (may Allah be pleased with him) reported that the Prophet (may Allah's peace and blessings be upon him) said: “Observing Ribāt (guarding the Muslim frontiers) for a day and a night is better than fasting and standing for night prayer for a whole month. If a person dies (while…
"رباط يوم وليلة خير من صيام شهر وقيامه، وإن مات فيه أجري عليه عمله الذي كان يعمل، وأجري عليه رزقه، وأمن الفتان"