What did Muhammad do to the Kaaba, the central shrine in Mecca?

A. He used the shrine to record messages from Allah.

B. He rededicated the shrine to Allah.

C. He used the shrine to convert Meccans to Islam.

D. He destroyed the shrine and no one ever visited there again.

B. He rededicated the shrine to Allah.