It is narrated from Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no man who performs ablution, then goes to one of the mosques of Allah (for the prayer), except that whatever step he takes, Allah, the Mighty and Majestic, writes in his record of deeds a good deed for each step, erases one sin of his because of it, and raises him one rank because of it."
Imam Ibn Abi Shaybah recorded this hadith in his Musannaf, and supporting reports for it exist among the hadith of Sahih Muslim.
Hadith Referenceالمطالب العالية بزوائد المسانيد الثمانية / صفة الصلاة / 570
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«حکم الحدیث المطالب العالیہ محققاً تنسیق د. سعد بن ناصر بن عبد العزيز الشَّثري- مکتبہ شاملہ :إسناده ضعيف. » «أخرجه صحيح مسلم برقم: 654، وأخرجه سنن أبي داود برقم: 550، وأخرجه سنن ابن ماجه برقم: 777، وأخرجه مسند أحمد برقم: 3616، وأخرجه المعجم الكبير للطبراني برقم: 10102، 10104، وأخرجه المعجم الأوسط للطبراني برقم: 2618، 5408، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2133، وأخرجه البحر الزخار المعروف بمسند البزار 10 - 18 برقم: 7841، وأخرجه الأوسط في السنن والإجماع والاختلاف برقم: 1877، وأخرجه إتحاف الخيرة المهرة بزوائد المسانيد العشرة برقم: 978»