Tafsir Ibn Kathir -> Surah Al-Baqarah -> The First Abrogation in the Qur'an was about the Qiblah

`Ali bin Abu Talhah related that Ibn `Abbas narrated: The first abrogated part in the Qur'an was about the Qiblah. When Allah's Messenger migrated to Al-Madinah, the majority of its people were Jews, and Allah commanded him to face Bayt Al-Maqdis. The Jews were delighted then. Allah's Messenger faced it for ten and some months, but he liked to face the Qiblah of Ibrahim (Ka`bah in Makkah). He used to supplicate to Allah and look up to the sky (awaiting Allah's command). Allah then revealed:

﴿ظ‚ظژط¯ظ’ ظ†ظژط±ظژظ‰ طھظژظ‚ظژظ„ظ‘ظڈط¨ظژ ظˆظژط¬ظ’ظ‡ظگظƒظژ ظپظگظٹ ط§ظ„ط³ظ‘ظژظ…ظژط¢ط،ظگ﴾

(Verily, We have seen the turning of your (Muhammad's) face towards the heaven), until,

﴿ظپظژظˆظژظ„ظ‘ظڈظˆط§ظ’ ظˆظڈط¬ظڈظˆظ‡ظژظƒظڈظ…ظ’ ط´ظژط·ظ’ط±ظژظ‡ظڈ﴾

(turn your faces (in prayer) in that direction.)

The Jews did not like this ruling and said:

﴿ظ…ظژط§ ظˆظژظ„ظ‘ظژظ€ظ‡ظڈظ…ظ’ ط¹ظژظ† ظ‚ظگط¨ظ’ظ„ظژطھظگظ‡ظگظ…ظڈ ط§ظ„ظ‘ظژطھظگظ‰ ظƒظژط§ظ†ظڈظˆط§ظ’ ط¹ظژظ„ظژظٹظ’ظ‡ظژط§ ظ‚ظڈظ„ ظ„ظ‘ظ„ظ‘ظژظ‡ظگ ط§ظ„ظ’ظ…ظژط´ظ’ط±ظگظ‚ظڈ ظˆظژط§ظ„ظ’ظ…ظژط؛ظ’ط±ظگط¨ظڈ﴾

("What has turned them (Muslims) from their Qiblah (prayer direction) to which they used to face in prayer.'' Say (O Muhammad), "To Allah belong both, east and the west.'') (2:142)

Allah said:

﴿ظپظژط£ظژظٹظ’ظ†ظژظ…ظژط§ طھظڈظˆظژظ„ظ‘ظڈظˆط§ظ’ ظپظژط«ظژظ…ظ‘ظژ ظˆظژط¬ظ’ظ‡ظڈ ط§ظ„ظ„ظ‘ظژظ‡ظگ﴾

(. ..so wherever you turn (yourselves or your faces) there is the Face of Allah) (2:115),

and:

﴿ظˆظژظ…ظژط§ ط¬ظژط¹ظژظ„ظ’ظ†ظژط§ ط§ظ„ظ’ظ‚ظگط¨ظ’ظ„ظژط©ظژ ط§ظ„ظ‘ظژطھظگظ‰ ظƒظڈظ†طھظژ ط¹ظژظ„ظژظٹظ’ظ‡ظژط¢ ط¥ظگظ„ط§ظ‘ظژ ظ„ظگظ†ظژط¹ظ’ظ„ظژظ…ظژ ظ…ظژظ† ظٹظژطھظ‘ظژط¨ظگط¹ظڈ ط§ظ„ط±ظ‘ظژط³ظڈظˆظ„ظژ ظ…ظگظ…ظ‘ظژظ† ظٹظژظ†ظ‚ظژظ„ظگط¨ظڈ ط¹ظژظ„ظژظ‰ ط¹ظژظ‚ظگط¨ظژظٹظ’ظ‡ظگ﴾

(And We made the Qiblah (prayer direction towards Jerusalem) which you used to face, only to test those who followed the Messenger (Muhammad ) from those who would turn on their heels (i.e., disobey the Messenger).) (2:143)