This commentary covers verses 2:142 to 2:143.
Changing the Qiblah @ Direction of the Prayer
Imam Al-Bukhari reported that Al-Bara' bin `Azib narrated: "Allah's Messenger ﷺ offered his prayers facing Bayt Al-Maqdis (Jerusalem) for sixteen or seventeen months, but he wished that he could pray facing the Ka`bah (at Makkah). The first prayer which he offered (facing the Ka`bah) was the `Asr (Afternoon) prayer in the company of some people. Then one of those who had offered that prayer with him, went out and passed by some people in a mosque who were in the bowing position (in Ruku`) during their prayers (facing Jerusalem). He addressed them saying, `By Allah, I bear witness that I have offered prayer with the Prophet facing Makkah (Ka`bah).' Hearing that, those people immediately changed their direction towards the House (Ka`bah) while still as they were (i.e., in the same bowing position). Some Muslims who offered prayer towards the previous Qiblah (Jerusalem) before it was changed towards the House (the Ka`bah in Makkah) had died or had been martyred, and we did not know what to say about them (regarding their prayers towards Jerusalem). Allah then revealed:
وَمَا كَانَ اللَّهُ لِيُضِيعَ إِيمَـنَكُمْ إِنَّ اللَّهَ بِالنَّاسِ لَرَءُوفٌ رَّحِيمٌ
(And Allah would never make your faith (prayers) to be lost (i.e., the prayers of those Muslims were valid)) (2:143)."
Al-Bukhari collected this narration, while Muslim collected it using another chain of narrators. Muhammad bin Ishaq reported that Al-Bara' narrated: Allah's Messenger ﷺ used to offer prayers towards Bayt Al-Maqdis (in Jerusalem), but would keep looking at the sky awaiting Allah's command (to change the Qiblah). Then Allah revealed:
قَدْ نَرَى تَقَلُّبَ وَجْهِكَ فِي السَّمَآءِ فَلَنُوَلِّيَنَّكَ قِبْلَةً تَرْضَاهَا فَوَلِّ وَجْهَكَ شَطْرَ الْمَسْجِدِ الْحَرَامِ
(Verily, We have seen the turning of your (Muhammad's) face towards the heaven. Surely, We shall turn you to a Qiblah (prayer direction) that shall please you, so turn your face in the direction of Al-Masjid Al-Haram (at Makkah).) (2:144)
A man from among the Muslims then said, "We wish we could know about those among us who died before the Qiblah was changed (i.e., towards Makkah) and also about our own prayers, that we had performed towards Bayt Al-Maqdis." Allah then revealed:
وَمَا كَانَ اللَّهُ لِيُضِيعَ إِيمَـنَكُمْ
(And Allah would never make your faith (prayers) to be lost.) (2:143)
The fools among the people, meaning the People of the Scripture (Jews and Christians), said, "What made them change the former Qiblah that they used to face" Allah then revealed:
سَيَقُولُ السُّفَهَآءُ مِنَ النَّاسِ
(The fools (idolators, hypocrites, and Jews) among the people will say...)
until the end of the Ayah.
`Ali bin Abu Talhah related that Ibn `Abbas said: When Allah's Messenger ﷺ migrated to Al-Madinah, Allah commanded him to face Bayt Al-Maqdis (Jerusalem). The Jews were delighted then. Allah's Me…