Maqsura is an enclosure, a box or wooden screen near the mihrab or the center of the qibla wall, which was originally designed to shield a worshipping ruler from assassins. The imam officiating inside the maqsurah typically belonged to the same school of law to which the ruler belonged.