The Dome of the Rock is in Jerusalem. You mean the Kabbah - that cube-like place in the middle of Mecca.
=
Ka'aba at Makkah Borg cube