Al-Ilmam bi-Ahadith al-Ahkam 396
وَعَن ابْن عَبَّاس رَضِيَ اللَّهُ عَنْهما عَن النَّبِي ﷺ : " أَنه خرج يَوْم الْفطر فَصَلى رَكْعَتَيْنِ، لم يصل قبلهمَا وَلَا بعدهمَا (وَمَعَهُ بِلَال) الحَدِيث ". لفظ البُخَارِيّ (وَهُوَ مُتَّفق عَلَيْهِ) . [وَعند مُسلم: عَن أبي سعيد أَن النَّبِي ﷺ خرج يَوْم أَضْحَى، أَو فطر، فَصَلى رَكْعَتَيْنِ لم يصلِّ قبلهمَا، وَلَا بعدهمَا "] . [وَعند مُسلم أَن النَّبِي ﷺ خرج يَوْم أَضْحَى أَو فطر، فَصَلى رَكْعَتَيْنِ لم يصل قبلهمَا وَلَا بعدهمَا، ثمَّ أَتَى النِّسَاء وَمَعَهُ بِلَال فأمرهن بِالصَّدَقَةِ، فَجعلت الْمَرْأَة تلقي خُرصها وسخابَها ". مُتَّفق عَلَيْهِ] .
And from Ibn ʿAbbas, may Allah be pleased with them both, from the Prophet ﷺ: "He went out on the day of al-Fitr and prayed two rakʿahs, praying neither before them nor after them (and Bilal was with him)" — the hadith. The wording is al-Bukhari's (and it is agreed upon). [And with Muslim, from Abu Saʿid, that the Prophet ﷺ went out on the day of al-Adha or al-Fitr and prayed two rakʿahs, praying neither before them nor after them.] [And with Muslim, that the Prophet ﷺ went out on the day of al-Adha or al-Fitr and prayed two rakʿahs, praying neither before them nor after them. Then he came to the women, with Bilal accompanying him, and ordered them to give charity, and a woman began throwing her earrings and her necklace. Agreed upon.]