when the Prophet (ﷺ) turned towards the Ka'bah (in prayer), the people asked : Messenger of Allah (ﷺ)! what will happen with those who died while they prayed with their faces towards Jerusalem ? Allah the Exalted, then revealed : "And never would Allah make your faith of no effect."
Reference: Sunan Abi Dawud 4680 In-book : Book 42, Hadith 85 English translation : Book 41, Hadith 4663
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.