Hadith 39

Riyad as-Salihin

Book 1: The Book of Good Manners

Chapter 98

Excellence of Adopting Different Routes for Going and Returning on 'Eid Prayer and Various Other Occasions

باب استحباب الذهاب إلى العيد وعيادة المريض والحج والغزو الجنازة ونحوها من طريق والرجوع من طريق آخر لتكثير مواضع العبادة

Riyad as-Salihin 718
عن جابر رضي الله عنه ‏:‏ كان النبي صلى الله عليه وسلم الله عليه وسلم إذا كان يوم عيد خالف الطريق‏.‏ ‏(‏‏(‏رواه البخاري‏)‏‏)‏‏.‏
Jabir (May Allah be pleased with him) reported:

On the occasion of the 'Eid, the Prophet (ﷺ) would proceed to the prayer place taking one route and returning from another. [Al-Bukhari].