Going out of the town (is recommended)
➊ It is narrated from Abu Sa’id al-Khudri (may Allah be pleased with him) that:
كان النبى صلى الله عليه وسلم يخرج يوم الفطر والأضحى إلى المصلى
“The Prophet ﷺ used to go out to the Eid prayer ground on the day of Eid al-Fitr and Eid al-Adha.”
➋ When a caravan testified that they had seen the moon the previous day, he ﷺ commanded that:
وإذا أصبــحــوا أن يـغـدوا إلــى مصلاهم
“When morning comes, they should go out to the Eid prayer ground.”
It is known from this that the Prophet ﷺ always chose the Eid prayer ground, not the mosque, for the Eid prayer.