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.
bayhaqi:2205Muḥammad b. ʿAbdullāh al-Ḥāfiẓ > Abū al-ʿAbbās Muḥammad b. Yaʿqūb > Muḥammad b. Isḥāq al-Ṣaghānī > Muḥammad b. ʿAbdullāh b. Numayr from my father > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

[Machine] That the Messenger of Allah, ﷺ , used to pray his voluntary prayers wherever his camel turned.  

البيهقي:٢٢٠٥أَخْبَرَنَا مُحَمَّدُ بْنُ عَبْدِ اللهِ الْحَافِظُ ثنا أَبُو الْعَبَّاسِ مُحَمَّدُ بْنُ يَعْقُوبَ ثنا مُحَمَّدُ بْنُ إِسْحَاقَ الصَّغَانِيُّ ثنا مُحَمَّدُ بْنُ عَبْدِ اللهِ بْنِ نُمَيْرٍ ثنا أَبِي عَنْ عُبَيْدِ اللهِ عَنْ نَافِعٍ عَنِ ابْنِ عُمَرَ

أَنَّ رَسُولَ اللهِ ﷺ كَانَ يُصَلِّي سُبْحَتَهُ حَيْثُمَا تَوَجَّهَتْ بِهِ نَاقَتُهُ  

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

See similar narrations below:

Collected by Muslim
muslim:700aMuḥammad b. ʿAbdullāh b. Numayr from my father > ʿUbaydullāh > Nāfiʿ > Ibn ʿUmar

Ibn 'Umar reported that the Messenger of Allah ﷺ used to say Nafl prayer on (the back of) his camel in whatever direction it took him.  

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

أَنَّ رَسُولَ اللَّهِ ﷺ كَانَ يُصَلِّي سُبْحَتَهُ حَيْثُمَا تَوَجَّهَتْ بِهِ نَاقَتُهُ