Sunan Ibn Majah, Book 5, Hadith 139 (Ibn Majah 941)

It was narrated that Ibn ‘Umar said:

“A small spear (Harbah) would be brought out to the Prophet (ﷺ) when he was travelling; he would plant it (in the ground) to perform prayer while facing it.”