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.
أَنَّ النَّبِيَّ ﷺ كَانَ يَأْتِي الْعِيدَ مَاشِيًا وَيَرْجِعُ مَاشِيًا فِي غَيْرِ الطَّرِيقِ الَّذِي ابْتَدَأَ فِيهِ