The Messenger of Allah ﷺ said, "Shall I guide you to that by which Allah erases sins and raises ranks?"They replied, "Of course, Messenger of Allah."He said, "Performing ablution thoroughly despite difficulties, taking many steps to the mosques, and waiting for the next prayer after completing one. That is the true vigilance."
حدثنا علي بن حجر أخبرنا إسمعيل بن جعفر عن العلاء بن عبد الرحمن عن أبيه
أن رسول الله ﷺ قال ألا أدلكم على ما يمحو الله به الخطايا ويرفع به الدرجات قالوا بلى يا رسول الله قال إسباغ الوضوء على المكاره وكثرة الخطا إلى المساجد وانتظار الصلاة بعد الصلاة فذلكم الرباط
Muslim also reported it in the Book of Purification, Chapter on the Merit of Performing Wudu Thoroughly in Times of Hardship, hadith no. 251, from Ali bin Hajar, with the same wording.