There is no source that can really be used as a foothold, when Mecca was first inhabited or who first took the lead in Mecca. Therefore, historians disagree on this issue. Some say the first inhabitants of Mecca were Prophet Ibrahim umrah packages . The reason, (1) In the Prophet Ibrahim’s prayer above, he did not mention the ballad (country), but it was called the wadi (valley), meaning that the place was deserted uninhabited. (2) There are no verses or hadiths that are authentic explaining or inputting the story of Mecca before the arrival of Prophet Ibrahim. (3) There is no Shari’a purifying the Ka’bah and making Mecca as an illegitimate land and calling on people to come to it except after Prophet Ibrahim left the place. Meanwhile, perhaps you should check out the recommended umrah packages as well.
Another opinion states that the history of Mecca did not only begin at the time of Prophet Ibrahim or the prophets and messengers before him, but even the history of Mecca has also existed since the time of Prophet Adam ‘Peace be upon him. Those who argue thus argue with the Quranic verse:
“Indeed, the house which was originally built for (the place of worship) of mankind, is the House of Allah which in Bakkah (Mecca) is blessed and becomes a guide for all humans.” (Surat Ali Imran: 96)
And (remember), when We gave a place to Abraham at the place of Baitullah (by saying): “Do not associate anything with Me …” (QS. Al-Hajj: 26)
And (remember), when Abraham raised (fostered) the basics of Baitullah with Ismail (while praying): “O our Lord, accept us (our deeds), verily Thou hast heard, knoweth”. (QS. Al-Baqarah: 127)
The first verse explains that the first house built for humans was a house that was in Bakkah or Mecca, while Prophet Ibrahim was not the first human being automatically the first house was not built by him. The second and third hints that Prophet Ibrahim and Ismail were not the first people to build the Kaaba, both of them only raised the building.
In conclusion, these two opinions are the fruits of analysis, each of which has an argument, it could be the first one right and the second wrong, and vice versa. Both have true possibilities.