It is narrated from Hazrat Salman Farsi (may Allah be pleased with him) that he heard the Holy Prophet (peace and blessings be upon him) say: Guarding the frontier in the way of Allah for one day and one night is like fasting for a month and standing in prayer during its nights. If he dies (in this state), the reward of the frontier guard continues for him until he is resurrected, and he will be protected from the trial (of the grave).