The Quran contains several verses regarding the origin of the Kaaba, it states that the Kaaba was the first House of Worship, and that it was built by Ibrahim and Ishmael on God’s[citation needed] instructions.
Verily, the first House (of worship) appointed for mankind was that at Bakkah (Makkah), full of blessing, and a guidance for mankind.
— Quran, Chapter 3 (Aale-Imran) verse 96
Behold! We gave the site, to Ibrahim, of the (Sacred) House, (saying): "Associate not anything (in worship) with Me; and sanctify My House for those who compass it round, or stand up, or bow, or prostrate themselves (therein in prayer).
— Quran, Chapter 22 (Al Hajj) verse 26
And remember Ibrahim and Ishmael raised the foundations of the House (With this prayer): "Our Lord! Accept (this service) from us: For Thou art the All-Hearing, the All-knowing.
— Quran, Chapter 2 (Al Bakarah) verse 127