Sunnah.com : Book 12, Hadith 7
Narration text is preserved in its supplied Arabic and English. Translated interfaces and reading guides do not add narration translations in other languages.
رباط يوم وليلة خير من صيام شهر وقيامه، وإن مات فيه أجري عليه عمله الذي كان يعمل، وأجري عليه رزقه، وأمن الفتان"
Salman (May Allah be pleased with him) reported:
I heard the Messenger of Allah (ﷺ) as saying, "Observing Ribat in the way of Allah for a day and a night is far better than observing Saum (fasting) for a whole month and standing in Salat (prayer) in all its nights. If a person dies (while performing this duty), he will go on receiving his reward for his meritorious deeds perpetually, and he will be saved from Al- Fattan." [Muslim].
Full reference and source
Sunnah.com : Book 12, Hadith 7 Arabic/English book : Book 12, Hadith 1291
View source on Sunnah.com (opens in a new tab)