Ibn Umar (may Allah be pleased with him) reported:
"The Messenger of Allah (peace be upon him) made zakat al-Fitr obligatory, one sa' of dates or barley, upon every Muslim: slave and free, male and female, young and old, and he commanded that it be paid before people go out to the ('Eid) prayer." (Agreed upon)
In today's measures, zakat al-Fitr is 2.176 kg per person (commonly rounded up to 2.5 kg). The foods mentioned in the hadith are flour, wheat, dates, barley, raisins and aqith (a kind of dried cheese). In regions whose staple food is something else, the Maliki and Shafi'i schools allow zakat to be paid in the local staple (such as sago, corn, cassava, etc.).
According to the Hanafi school, zakat al-Fitr may be paid as the monetary value of the staple food.
Payment according to the majority of scholars:
1. It becomes obligatory at sunset on the last day of Ramadan
2. It may be paid earlier in the month
3. It may be paid in money equal to the value of the food
4. It is paid in the region where that staple food applies.
Note: Those who did not fast in Ramadan for a reason permitted by the Shari'a and are obliged to pay fidyah pay it according to the number of days they did not fast.