Sunan an-Nasa'i, Book 19, Hadith 16 (In-Book) ⓘ
It was narrated from 'Abdullah bin As-SA'ib that: 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."
حَدَّثَنَا مُحَمَّدُ بْنُ يَحْيَى بْنِ أَيُّوبَ، قَالَ حَدَّثَنَا الْفَضْلُ بْنُ مُوسَى، قَالَ حَدَّثَنَا ابْنُ جُرَيْجٍ، عَنْ عَطَاءٍ، عَنْ عَبْدِ اللَّهِ بْنِ السَّائِبِ، أَنَّ النَّبِيَّ صلى الله عليه وسلم صَلَّى الْعِيدَ قَالَ " مَنْ أَحَبَّ أَنْ يَنْصَرِفَ فَلْيَنْصَرِفْ وَمَنْ أَحَبَّ أَنْ يُقِيمَ لِلْخُطْبَةِ فَلْيُقِمْ " .
also referenced under: Hadith 1571 (Reference) & Volume 2, Book 19, Hadith 1572 (DarusSalam)