Rewrite this with simpler wording: The Kaaba, the small cubical building which Muslims pray towards is believed to have been built by Ibrahim and has been a religious center ever since. <SEP> The Kaaba is the place towards which Muslims turn in prayer.
The mosque surrounds the Kaaba, which Muslims turn towards while offering daily prayer.