It was narrated that ‘Ali said:“It is part of the Sunnah to walk to ‘Eid (prayers).”
حَدَّثَنَا يَحْيَى بْنُ حَكِيمٍ، حَدَّثَنَا أَبُو دَاوُدَ، حَدَّثَنَا زُهَيْرٌ، عَنْ أَبِي إِسْحَاقَ، عَنِ الْحَارِثِ، عَنْ عَلِيٍّ، قَالَ إِنَّ مِنَ السُّنَّةِ أَنْ يَمْشِيَ إِلَى الْعِيدِ .
IbnMaja
Establishing the Prayer and the Sunnah Regarding Them • Hadith 1296