It is narrated from Sayyiduna Abu Juhayfah (may Allah be pleased with him) that at Mina the Prophet (peace and blessings be upon him) gave an order, so a spear was planted in the ground, and he (peace and blessings be upon him) prayed facing it.
Hadith Referenceالمعجم الكبير للطبراني / باب الواو / 18535