The Prophet of Allah 
used to walk to the Mosque through a route and after the prayer he would walk back through a different route. An advantage of this is on your return route, you will meet new faces and so you will exchange greetings and hugs with new people.
- Narrated Jabir bin `Abdullah : On the Day of `Id (Eid) the Prophet of Allah  used to return (after offering the `Id prayer) through a way different from that by which he went.
[Bukhari Volume 2, No 102]