[1] The presence of the water supply system necessary for the mîdhâ and the hammam led the Saadian architects to build open fountains with drinking troughs near the mosques.
The large fountain was reserved for humans while the two drinking troughs next to it; covered with vaults and opening onto the street by three arches, were used, at the time, to water the animals, especially donkeys.
[1]: 70–75 Inside above on a horizontal beam, a large carved plaster frieze features a geometric pattern of an eight-pointed star called "Mtemmen maa'kous".
This geometric motif is inserted between two small friezes, narrower and also in carved plaster, repeat the eulogy "العز لله" meaning "The glory is to God".
Above the crows, on the first lintel, an inscription is chiseled on two cartridges says: أَحْسَنُ ما صُرِفَ فيه المَقال ***** الحَمْدُ للَّهِ على كُلِّ حــال “The most beautiful words that have been spoken (are): Praise be to God in all circumstances!
"[4] To supply drinking water to the fountains of the medina as well as the ablution rooms of mosques, hammams and sometimes large houses, the Almoravids built an original hydraulic system called khettara.
[6] It consists of a set of vertical wells connected to a slightly sloping drainage tunnel that conveys the water to cisterns or reservoirs.