Sunan Ibn Majah, Volume 2, Book 5, Hadith 1300 (DarusSalam)

It was narrated from Muhammad bin ‘Ubaidullah bin Abu Rafi’, from his father, from his grandfather, that the Messenger of Allah used to come to ‘Eid prayers walking, and that he would go back via a different route than the one he began with.

حَدَّثَنَا أَحْمَدُ بْنُ الأَزْهَرِ، حَدَّثَنَا عَبْدُ الْعَزِيزِ بْنُ الْخَطَّابِ، حَدَّثَنَا مِنْدَلٌ، عَنْ مُحَمَّدِ بْنِ عُبَيْدِ اللَّهِ بْنِ أَبِي رَافِعٍ، عَنْ أَبِيهِ، عَنْ جَدِّهِ، أَنَّ النَّبِيَّ ـ صلى الله عليه وسلم ـ كَانَ يَأْتِي الْعِيدَ مَاشِيًا وَيَرْجِعُ مَاشِيًا فِي غَيْرِ الطَّرِيقِ الَّذِي ابْتَدَأَ فِيهِ ‏.‏

sunnah.com