It was narrated from Abu Hurairah that when the Prophet ﷺ went out to ‘Eid (prayers), he would return via another route than the first one he took.
أَنَّ النَّبِيَّ ﷺ كَانَ إِذَا خَرَجَ إِلَى الْعِيدِ رَجَعَ فِي غَيْرِ الطَّرِيقِ الَّذِي أَخَذَ فِيهِ