Abdullah bin Umar reported,

The Prophet ﷺ made the charity of Fitr, or he said of Ramadan, obligatory upon every male and female, free person and slave, as one saa of dates or one saa of barley. The people later considered half a saa of wheat to be its equivalent. Ibn Umar رضي الله عنهم used to give dates, but when the people of Medina ran short of dates, he gave barley. Ibn Umar used to give it on behalf of the young and the old, even on behalf of my sons. Ibn Umar رضي الله عنهم would give it to those appointed to receive it, and the people would give it a day or two before the Eid.

Bukhari 1511

Sahih

حدثنا أبو النعمان حدثنا حماد بن زيد حدثنا أيوب عن نافع

عن ابن عمر رضي الله عنهما قال

فرض النبي ﷺ صدقة الفطر أو قال رمضان على الذكر والأنثى والحر والمملوك صاعا من تمر أو صاعا من شعير فعدل الناس به نصف صاع من بر فكان ابن عمر رضي الله عنهما يعطي التمر فأعوز أهل المدينة من التمر فأعطى شعيرا فكان ابن عمر يعطي عن الصغير والكبير حتى إن كان ليعطي عن بني وكان ابن عمر رضي الله عنهما يعطيها الذين يقبلونها وكانوا يعطون قبل الفطر بيوم أو يومين

البخاري 1511صحيح
Contents
Reference
Commentary
Ayat
Collection
Sahih Bukhari
Book
Zakat
Chapter
Zakat al-Fitr for the free person and the slave
Numbering
Darussalam 1511
Bukhari 1511