Ibn 'Umar reported that the Messenger of Allah (ﷺ) ordered that the Sadaqat-ul-Fitr should be paid before the people go out for prayer.
Sahih Muslim Book 12, Hadith 26