Ibn Umar reported: The Messenger of Allah, peace and blessings be upon him, obligated payment of charity at the end of Ramadan, a portion of dates or barely, upon slave and freeman, male and female, young and old among the Muslims. The Prophet ordered it to be given before people go out for Eid prayer.
Source: Ṣaḥīḥ al-Bukhārī 1503, Ṣaḥīḥ Muslim 986
Grade: Muttafaqun Alayhi (authenticity agreed upon) according to Al-Bukhari and Muslim
عَنْ ابْنِ عُمَرَ رَضِيَ اللَّهُ عَنْهُمَا قَالَ فَرَضَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ زَكَاةَ الْفِطْرِ صَاعًا مِنْ تَمْرٍ أَوْ صَاعًا مِنْ شَعِيرٍ عَلَى الْعَبْدِ وَالْحُرِّ وَالذَّكَرِ وَالْأُنْثَى وَالصَّغِيرِ وَالْكَبِيرِ مِنْ الْمُسْلِمِينَ وَأَمَرَ بِهَا أَنْ تُؤَدَّى قَبْلَ خُرُوجِ النَّاسِ إِلَى الصَّلَاةِ
1503 صحيح البخاري كتاب الزكاة باب فرض صدقة الفطر
986 صحيح مسلم كتاب الزكاة باب زكاة الفطر على المسلمين من التمر والشعير