Who built the Kaaba, according to the Quran?
According to the Quran, it was Abraham and his son Ishmael: "And when Abraham and Ishmael were raising the foundations of the House" (2:127). The Kaaba, in Mecca, is called "the House" and "the Sacred House" (5:97), and surah 3:96 says it was "the first Sanctuary appointed for mankind". It is toward it that Muslims turn when they pray.
Surah 2:125-128 tells how God made the House "a resort for mankind and sanctuary" and commanded Abraham and Ishmael: "Purify My house for those who go around".
While raising the foundations, the two asked God to accept the work and make of their seed "a nation submissive unto Thee".
"The place where Abraham stood" (Maqam Ibrahim) is to this day a marked stone beside the Kaaba.
Surah 3:96-97 calls the place "Becca" and says pilgrimage to the House is a duty "for him who can find a way thither".
In surah 22:26-27, God tells Abraham to proclaim the pilgrimage to mankind: "They will come unto thee on foot and on every lean camel". In 2:144, the Kaaba becomes the direction of prayer (qiblah), which had been Jerusalem.
Kaaba means "cube", from the building's shape. According to tradition, before Islam it was full of idols, which Muhammad destroyed when he took Mecca in 630. During the pilgrimage (hajj), the faithful walk around it seven times.