It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Prophet (peace and blessings be upon him) commanded that the Sadaqat al-Fitr should be given before going out to the Eid prayer ground.
Hadith Referenceمسند احمد / مسند المكثرين من الصحابة / 5345
Hadith Gradingحکم دارالسلام:حديث صحيح ، خ : 1503، وهذا إسناد حسن من أجل أسامة بن زيد .