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.
muslim:501a[Chain 1] Muḥammad b. al-Muthanná > ʿAbdullāh b. Numayr [Chain 2] Ibn Numayr from my father > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

When the Messenger of Allah (may peace he upon him) went out on the 'Id day, he ordered to carry a spear-and it was fixed in front of him, and he said prayer towards its (direction), and the people were behind him. And he did it in the journey, and that is the reason why the Amirs carried it.  

مسلم:٥٠١aحَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ ح وَحَدَّثَنَا ابْنُ نُمَيْرٍ وَاللَّفْظُ لَهُ حَدَّثَنَا أَبِي حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ أَمَرَ بِالْحَرْبَةِ فَتُوضَعُ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الأُمَرَاءُ  


See similar narrations below:

Collected by Bukhārī, Abū Dāwūd, Aḥmad, Bayhaqī
bukhari:494Isḥāq > ʿAbdullāh b. Numayr > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

Whenever Messenger of Allah ﷺ came out on ʿId day, he used to order that a Harba [??] (a short spear) to be planted in front of him (as a Sutra for his prayer) and then he used to pray facing it with the people behind him and used to do the same while on a journey. After the Prophet ﷺ , this practice was adopted by the Muslim rulers (who followed his traditions).  

البخاري:٤٩٤حَدَّثَنَا إِسْحَاقُ قَالَ حَدَّثَنَا عَبْدُ اللَّهِ بْنُ نُمَيْرٍ قَالَ حَدَّثَنَا عُبَيْدُ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ أَمَرَ بِالْحَرْبَةِ فَتُوضَعُ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الأُمَرَاءُ  

abudawud:687al-Ḥasan b. ʿAlī > Ibn Numayr > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

When the Messenger of Allah ﷺ would go out (for prayer) on the day of 'Id, he ordered to bring a lance, it was then setup in front of him and he would pray in its direction, and the people (stood) behind him. He used to do so during journey ; hence the rulers would take it (lance with them).  

أبو داود:٦٨٧حَدَّثَنَا الْحَسَنُ بْنُ عَلِيٍّ حَدَّثَنَا ابْنُ نُمَيْرٍ عَنْ عُبَيْدِ اللَّهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ أَمَرَ بِالْحَرْبَةِ فَتُوضَعَ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الأُمَرَاءُ  

ahmad:6286Ibn Numayr > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

When the Messenger of Allah ﷺ would go out (for prayer) on the day of 'Id, he ordered to bring a lance, it was then setup in front of him and he would pray in its direction, and the people (stood) behind him. He used to do so during journey ; hence the rulers would take it (lance with them). (Using translation from Abū Dāʾūd 687)  

أحمد:٦٢٨٦حَدَّثَنَا ابْنُ نُمَيْرٍ قَالَ حَدَّثَنَا عُبَيْدُ اللهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ يَأْمُرُ بِالْحَرْبَةِ فَتُوضَعُ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الْأُمَرَاءُ  

bayhaqi:3462Abū ʿAlī al-Rūdhbārī > Muḥammad b. Bakr > Abū Dāwud > al-Ḥasan b. ʿAlī > Ibn Numayr > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

[Machine] The Messenger of Allah ﷺ used to command the warriors when he went out on the day of Eid, and it would be placed in front of him, and he would pray towards it with the people behind him. And he used to do this during travels, so the rulers thereafter adopted it.  

البيهقي:٣٤٦٢أَخْبَرَنَا أَبُو عَلِيٍّ الرُّوذْبَارِيُّ أنبأ مُحَمَّدُ بْنُ بَكْرٍ ثنا أَبُو دَاوُدَ ثنا الْحَسَنُ بْنُ عَلِيٍّ ثنا ابْنُ نُمَيْرٍ عَنْ عُبَيْدِ اللهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ ؓ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ إِذَا خَرَجَ يَوْمَ الْعِيدِ أَمَرَ بِالْحَرْبَةِ فَتُوضَعُ بَيْنَ يَدَيْهِ فَيُصَلِّي إِلَيْهَا وَالنَّاسُ وَرَاءَهُ وَكَانَ يَفْعَلُ ذَلِكَ فِي السَّفَرِ فَمِنْ ثَمَّ اتَّخَذَهَا الْأُمَرَاءُ  

رَوَاهُ الْبُخَارِيُّ فِي الصَّحِيحِ عَنْ إِسْحَاقَ وَرَوَاهُ مُسْلِمٌ عَنْ مُحَمَّدِ بْنِ عَبْدِ اللهِ بْنِ نُمَيْرٍ وَغَيْرِهِ عَنْ عَبْدِ اللهِ بْنِ نُمَيْرٍ