Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
tirmidhi:677Muslim b. ʿAmr b. Muslim Abū ʿAmr al-Ḥadhhāʾ al-Madanī > ʿAbdullāh b. Nāfiʿ al-Ṣāʾigh > Ibn Abū al-Zinād > Mūsá b. ʿUqbah > Nāfiʿ > Ibn ʿUmar

the Messenger of Allah would order paying the Zakat before going to the Salat on the day of Fitr.  

الترمذي:٦٧٧حَدَّثَنَا مُسْلِمُ بْنُ عَمْرِو بْنِ مُسْلِمٍ أَبُو عَمْرٍو الْحَذَّاءُ الْمَدَنِيُّ حَدَّثَنِي عَبْدُ اللَّهِ بْنُ نَافِعٍ الصَّائِغُ عَنِ ابْنِ أَبِي الزِّنَادِ عَنْ مُوسَى بْنِ عُقْبَةَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يَأْمُرُ بِإِخْرَاجِ الزَّكَاةِ قَبْلَ الْغُدُوِّ لِلصَّلاَةِ يَوْمَ الْفِطْرِ  

قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ حَسَنٌ صَحِيحٌ غَرِيبٌ وَهُوَ الَّذِي يَسْتَحِبُّهُ أَهْلُ الْعِلْمِ أَنْ يُخْرِجَ الرَّجُلُ صَدَقَةَ الْفِطْرِ قَبْلَ الْغُدُوِّ إِلَى الصَّلاَةِ

See similar narrations below:

Collected by Bukhārī, Muslim
bukhari:1509Ādam > Ḥafṣ b. Maysarah > Mūsá b. ʿUqbah > Nāfiʿ > Ibn ʿUmar

The Prophet ﷺ ordered the people to pay Zakat-ul-Fitr before going to the ʿId prayer.  

البخاري:١٥٠٩حَدَّثَنَا آدَمُ حَدَّثَنَا حَفْصُ بْنُ مَيْسَرَةَ حَدَّثَنَا مُوسَى بْنُ عُقْبَةَ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ ؓ

أَنَّ النَّبِيَّ ﷺ أَمَرَ بِزَكَاةِ الْفِطْرِ قَبْلَ خُرُوجِ النَّاسِ إِلَى الصَّلاَةِ  

muslim:986bMuḥammad b. Rāfiʿ > Ibn Abū Fudayk > al-Ḍaḥḥāk > Nāfiʿ > ʿAbdullāh b. ʿUmar

Abdullah b 'Umar reported that the Messenger of Allah ﷺ ordered the payment of Sadaqat-ul-Fitr before people go out for prayer.  

مسلم:٩٨٦bحَدَّثَنَا مُحَمَّدُ بْنُ رَافِعٍ حَدَّثَنَا ابْنُ أَبِي فُدَيْكٍ أَخْبَرَنَا الضَّحَّاكُ عَنْ نَافِعٍ عَنْ عَبْدِ اللَّهِ بْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ أَمَرَ بِإِخْرَاجِ زَكَاةِ الْفِطْرِ أَنْ تُؤَدَّى قَبْلَ خُرُوجِ النَّاسِ إِلَى الصَّلاَةِ