(Lo! the first Sanctuary appointed for mankind…) [3:96]. Said Mujahid: “The Muslims and the Jews boasted to each other; the Jews said: ‘Jerusalem is better and greater than the Ka‘bah because it was the land to which the Prophets had migrated and it is also sacred’; while the Muslims said: ‘No, the Ka‘bah is better’. And so Allah, exalted is He, revealed this verse”.
Asbab Al-Nuzul by Al-Wahidi , trans. Mokrane Guezzou