It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Noble Prophet (peace and blessings be upon him) ordered the giving of Sadaqat al-Fitr before the people go out for the prayer. And Sayyiduna Abdullah (may Allah be pleased with him) used to give it one or two days before Eid al-Fitr.