It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "There is no Muslim who performs ablution and does it well, then walks to one of the houses of Allah Almighty (the mosques) intending to perform an obligatory prayer in it, except that for every single step one good deed is recorded for him."
This chain is da'if (weak) because the narrator Abd al-A'la is weak.
Hadith Referenceإتحاف الخيرة المهرة بزوائد المسانيد العشرة / كتاب المساجد / 984
Hadith Gradingمحدثین:إسناده ضعيف
Hadith Takhrij«هذا إسناد ضعيف؛ لضعف عبد الأعلى» «أخرجه مسند أحمد برقم: 7382، وأخرجه مجمع الزوائد ومنبع الفوائد برقم: 2073»