All these pictures represent a big complex. There is the Sultan Camii, built in 1522, it was founded by Ayşe Hafza Hatun (died 1534). In front of it there is the medrese, a bit off in the garden there is the hamam (1540) and a daruşsıfa (hospital, 1533), now housing a museum about health care.
I was informed this is a sübyan mektebi (primary school). It has two domes