It was narrated from Abu Hurayrah (may Allaah be pleased with him) that the Messenger of Allaah (peace and blessings of Allaah be upon him) said: "Shall I not tell you something by means of which Allaah erases sins and raises people in status?" They said: Yes, O Messenger of Allaah. He said: "Doing wudoo' properly at times when it is difficult to do so, taking many steps to the mosque, and waiting for prayer after prayer. That is constant readiness." Narrated by Muslim, 251.
Jadi kalau ada peluang jalan kaki, jalan kaki lebih afdhal.