Abu Hurairah reported,

The Messenger of Allah ﷺ said, "Whoever purifies himself in his home, then walks to one of the houses of Allah to fulfill an obligation from among the obligations of Allah, his two steps are such that one of them erases a sin and the other raises him a degree."

Azami 1741

Sahih

عن أبي هريرة قال

قال رسول الله ﷺ: من تطهر في بيته ثم مشى إلى بيت من بيوت الله ليقضى فريضة من فرائض الله، كانت خطوتاه إحداهما تحط خطيئة، والأخرى ترفع درجة.

الأعظمي 1741صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami al-Kamil
Book
Prayer
Chapter
Obligation of prayer and its virtue
Section
Virtue of walking to prayer
Numbering
Jami al-Kamil 1741 (2nd edition)
Azami 1741