Abdullah bin Umar reported,

A spear used to be brought out for the Prophet ﷺ during travel, and he would plant it in the ground and pray facing it.

Ibn Majah 941

Sahih

حدثنا محمد بن الصباح أنبأنا عبد الله بن رجاء المكي عن عبيد الله عن نافع

عن ابن عمر قال

كان النبي ﷺ تخرج له حربة في السفر فينصبها فيصلي إليها

ابن ماجه 941صحيح
Contents
Reference
Commentary
Ayat
Collection
Sunan Ibn Majah
Book
Establishing prayer and the sunnah regarding it
Chapter
What covers the one who prays
Numbering
Darussalam 941
Ibn Majah 941