Thabit al-Bunani (may Allah have mercy on him) said: I was with Sayyiduna Anas bin Malik (may Allah be pleased with him) at al-Zawiyah when he heard the adhan, so he dismounted (from his mount) and I dismounted with him. When he was standing upright on the ground, he walked with me, then shortened his steps until I entered the mosque. Then he said: O Thabit! Do you know why I walked with you in this way until you entered the mosque? The Prophet (peace and blessings be upon him) walked with me in this same way and said: "Do you know why I walked with you in this way?" I said: Allah and His Messenger know best. He (peace and blessings be upon him) said: "So that the number of steps taken in seeking the prayer would increase."
Hadith Referenceالمعجم الكبير للطبراني / باب الزاي / 4780