Narrated Abdullah ibn Umar: The Messenger of Allah ﷺ went out by one road on the day of the Eid (festival) and returned by another.
Related hadith on this topic
Explanation & Benefits
Shaykh Umar Farooq Saeedi
1156. Commentary:
This act is recommended (mustahabb), as it is narrated in Sahih Bukhari from Jabir bin Abdullah radi Allahu anhu, who states that when it was the day of Eid, the Prophet sallallahu alayhi wa sallam would change his route (when coming and going). [صحيح بخاري۔ حديث : 986]
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 1156