Abu Hurairah reported,

The Prophet ﷺ said, "When a man performs ablution well and then sets out for the prayer, with nothing driving him out," or he said, "with nothing motivating him except the prayer itself, he does not take a single step except that Allah raises him a degree by it or removes a sin from him by it."

Tirmidhi 603

Sahih

حدثنا محمود بن غيلان حدثنا أبو داود قال أنبأنا شعبة عن الأعمش سمع ذكوان

عن أبي هريرة

عن النبي ﷺ قال إذا توضأ الرجل فأحسن الوضوء ثم خرج إلى الصلاة لا يخرجه أو قال لا ينهزه إلا إياها لم يخط خطوة إلا رفعه الله بها درجة أو حط عنه بها خطيئة

الترمذي 603صحيح
Contents
Reference
Commentary
Ayat
Collection
Jami Tirmidhi
Book
Travel
Chapter
Virtue of walking to the masjid and the reward written for every step
Numbering
Darussalam 603
Tirmidhi 603