The Messenger of Allah ﷺ commanded that the zakat al-fitr be paid before the people went out to the prayer ground, and on one occasion he said, before the prayer.
حدثنا عبد الرزاق أخبرنا ابن جريج أخبرني موسى بن عقبة عن نافع
أن رسول الله ﷺ أمر بزكاة الفطر أن تؤدى قبل خروج الناس إلى المصلى وقال مرة إلى الصلاة