A monastery was a building or complex of buildings that housed monastics, whether monks or nuns.
In 1066, the Monk used an abandoned monastery near a Northumbrian village as his base. (TV: The Time Meddler)
Also in the 11th century, a monastery was established on the site of what would later become Forgill Castle. By the late 20th century, monastic records were still kept in the castle's library. (TV: Terror of the Zygons)
The Eleventh Doctor briefly stayed in a monastery in Cumbria in 1207. (TV: The Bells of Saint John)
In 1400, the First Doctor, Ian Chesterton, Barbara Wright and Vicki Pallister visited a monastery, Sonning Palace, in England. (AUDIO: The Doctor's Tale)
The Doctor regularly visited a Buddhist monastery in Tibet named Det-Sen Monastery. (TV: The Abominable Snowmen)
In the 22nd century, the TARDIS landed next to St John's Monastery, which was used as a factory. (TV: The Rebel Flesh)