Abdullah bin Amir bin Rabi'ah narrated from his father who said:
"We were with the Prophet on a journey on a very dark night and we did not know the direction of the Qiblah. So each man among us prayed in his own direction. In the morning when we mentioned that to the Prophet, then the following was revealed: So where ever you turn, there is the Face of Allah."
Reference: Jami` at-Tirmidhi 345 In-book : Book 2, Hadith 197 English translation : Vol. 1, Book 2, Hadith 345
Help us gift a modern, ad-free Islamic application for the Muslim Ummah. Your donation will be recorded as Sadaqah Jariyah in your book of deeds, In Sha Allah.