Mishkat al-Masabih 282
وَعَنْ أَبِي هُرَيْرَةَ قَالَ: قَالَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: (أَلَا أَدُلُّكُمْ عَلَى مَا يَمْحُو اللَّهُ بِهِ الْخَطَايَا وَيَرْفَعُ بِهِ الدَّرَجَاتِ؟ قَالُوا بَلَى يَا رَسُولَ اللَّهِ قَالَ: «إِسْبَاغُ الْوُضُوءِ عَلَى الْمَكَارِهِ وَكَثْرَةُ الْخُطَى إِلَى الْمَسَاجِدِ وَانْتِظَارُ الصَّلَاةِ بَعْدَ الصَّلَاة فذلكم الرِّبَاط»
From Abu Hurayrah, who said: The Messenger of Allah ﷺ said: "Shall I not show you that by which Allah wipes out sins and raises ranks?" They said: "Yes, O Messenger of Allah." He said: "Doing wudu thoroughly despite difficulties, taking many steps to the mosques, and waiting for the prayer after the prayer; that is ribat."