Sunan an-Nasa'i #1571 · The Book of the Prayer for the Two 'Eids

Sunan an-Nasa'iIt was narrated from 'Abdullah bin As-SA'ib that
Sunan an-Nasa'i · Book 19 · The Book of the Prayer for the Two 'Eids
Sunan an-Nasa'i · كتاب 19 · كتاب صلاة العيدين
The Prophet (ﷺ) offered the 'Eid prayer and said: 'Whoever would like to leave, let him leave, and whoever would like to stay for the Khutbah, let him stay
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ أَيُّوبَ، قَالَ حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، قَالَ حَدَّثَنَا ابْنُ جُرَيْجٍ، عَنْ عَطَاءٍ، عَنْ عَبْدِ اللَّهِ بْنِ السَّائِبِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم صَلَّى الْعِيدَ قَالَ ‏
"‏ مَنْ أَحَبَّ أَنْ يَنْصَرِفَ فَلْيَنْصَرِفْ وَمَنْ أَحَبَّ أَنْ يُقِيمَ لِلْخُطْبَةِ فَلْيُقِمْ ‏"‏ ‏.‏
Reference : Sunan an-Nasa'i 1571In-book reference : Book 19, Hadith 16