Sayyiduna Abu Hurairah (may Allah be pleased with him) narrates from the Noble Prophet (peace and blessings be upon him) that he said: "The prayer of any one of you with the congregation is superior by more than twenty degrees than his prayer alone in his house or in the market. And this is because when any one of you performs ablution, he performs it well. Then he leaves his house only for the prayer, and with every step he takes, Allah raises him one degree and forgives him one sin." This is the narration of Bundar. In the narration of Abu Musa, it is: "or his sins are forgiven." In the narration of Bishr bin Khalid, Salm bin Janadah, and Al-Dawraqi, the words are: "and his sins are forgiven." In the narration of Al-Dawraqi, it is: "until he enters the mosque."
Explanation & Benefits
Shaykh Muhammad Farooq Rafi
Benefits:
This hadith describes the virtue of going to the mosque in a state of ablution (wudu) with the intention of praying in congregation: in this case, with every step one good deed is written, and with the other step one sin is erased. Thus, by the time he reaches the mosque, many of his ranks are raised and many of his evil deeds are erased.
Source: Sahih Ibn Khuzaymah: Commentary by Muhammad Farooq Rafee, Page: 1490