I set out for the mosque, and Utba bin Abd al-Mazini met me and asked, "Ayn Tureed?"I replied, "To the mosque."He said, "Bishr! For I heard the Messenger of Allah ﷺ say, 'There is no servant who leaves his house heading to the mosque, whether in the morning or the evening, except that his steps are reckoned as one step erasing a sin and one step raising him a degree.'"
حدثنا حيوة بن شريح حدثنا بقية حدثنا محمد بن زياد أو حدثني من سمعه قال حدثني
رحت إلى المسجد فلقيني عتبة بن عبد المازني فقال لي أين تريد فقلت إلى المسجد فقال أبشر فإني سمعت رسول الله ﷺ يقول ما من عبد يخرج من بيته إلى غدو أو رواح إلى المسجد إلا كانت خطاه خطوة كفارة وخطوة درجة
No references are available.
Its chain of transmission is daif, because of Yazid bin Zayd Jurjani, while the rest of its narrators are trustworthy. Haythami said likewise (2/29), and he said the same in Tajil.