Sahih al-Bukhari Book 10, Hadith 50
Anas said, "The Prophet (ﷺ) said, 'O Bani Salima! Don't you think that for every step of yours (that you
take towards the mosque) there is a reward (while coming for prayer)?" Mujahid said: "Regarding
Allah's Statement: "We record that which they have sent before (them), and their traces" (36.12).
'Their traces' means 'their steps.' " And Anas said that the people of Bani Salima wanted to shift to a
place near the Prophet (ﷺ) but Allah's Messenger (ﷺ) disliked the idea of leaving their houses uninhabited and
said, "Don't you think that you will get the reward for your footprints." Mujahid said, "Their foot
prints mean their foot steps and their going on foot."
Allah's Messenger (ﷺ) said, "While a man was going on a way, he saw a thorny branch and removed it from the way and Allah became pleased by his action and forgave him for that." Then the Prophet (ﷺ) said, "Five are martyrs: One who dies of plague, one who dies of an Abdominal disease, one who dies of drowning, one who is buried alive (and) dies and one who is killed in Allah's cause." (The Prophet (ﷺ) further said, "If the people knew the reward for pronouncing the Adhan and for standing in the first row (in the congregational prayer) and found no other way to get it except by drawing lots they would do so, and if they knew the reward of offering the Zuhr prayer early (in its stated time), they would race for it and if they knew the reward for `Isha' and Fajr prayers in congregation, they would attend them even if they were to crawl.
The Prophet (ﷺ) said, "No prayer is heavier upon the hypocrites than the Fajr and the `Isha' prayers and if they knew what is in them (in reward), they would have attended them, even if (it was) crawling. Certainly, I felt the urge to order the Mu'adh-dhin (call-maker) so that he would pronounce Iqama, then order a man to lead the people (in prayer), then take a flame of fire so that I burn (the houses) upon those who had not left for the prayer yet."