What is the juristic ruling on performing obligatory (Fard) prayers inside the Holy Ka'bah?

Prayer Inside and on top of the Holy Ka'bah