It is narrated from Sayyiduna Ibn Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) used to pray on his mount facing towards (Madinah Munawwarah) from Makkah Mukarramah. Then this verse was revealed « فَأَيْنَمَاتُوَلُّوافَثَمَّوَجْهُاللَّهِ »[ سورة البقرة : 115 ] "Wherever you turn, there is the Face of Allah."
Hadith Referenceصحيح ابن خزيمه / جماع أبواب صلاة التطوع فى السفر على الدواب / 1267