A group of the early scholars (salaf) said: When Allah revealed this verse, certain Jews and Christians declared, “We are Muslims.” Allah, Exalted is He, then proclaimed:
“Pilgrimage to the House is a duty owed to Allah by all people who are able to make the journey.” (Āl ʿImrān 3:97)
They replied, “We will not make the pilgrimage.” So Allah said:
“And whoever disbelieves—surely Allah is independent of all the worlds.” (Āl ʿImrān 3:97)
Thus, anyone who does not deem the pilgrimage to the House obligatory upon himself when he has the means is, by the unanimous agreement of the Muslims and as the Qur’an affirms, a disbeliever. The Jews and Christians do not regard it as binding, and therefore they are among the disbelievers. Indeed, a hadith traced back to the Prophet—peace and blessings be upon him—relates:
“Whoever possesses sufficient provisions and a mount that can carry him to the House of Allah, yet fails to perform the pilgrimage, let him die—if he wishes—as a Jew, or if he wishes, as a Christian.”