Multiple courtyards

A riad is a a house enclosing a central courtyard that is open to the sky; the courtyard  traditionally features a fountain or trees and now often has a small pool. 

The larger riads and hotels have combined several older riads or particularly designed around multiple courtyards,this gives everyone the space or a riad along with the facilities of a larger hotel.