The Messenger of Allah ﷺ made the zakat al-fitr obligatory, a saa of barley or a saa of dates, upon the young and the old, the free and the slave.
حدثنا مسدد حدثنا يحيى عن عبيد الله قال حدثني نافع
فرض رسول الله ﷺ صدقة الفطر صاعا من شعير أو صاعا من تمر على الصغير والكبير والحر والمملوك