57:27

After them We sent other Messengers, one after the other, and followed them with Isa (Jesus) the son of Maryam. We gave him The Injeel (Gospel), and put compassion and mercy into the hearts of his followers. As for monasticism, they instituted it themselves – for We did not enjoin it on them – in order to seek the good pleasure of Allah, but they did not observe it as it should have been observed. Yet We rewarded those among them who were true believers, but most of them are defiantly disobedient.
Meaning:-
Monasticism: mode of life, the way monks live, is a religious way of life in which one renounces worldly pursuits to devote oneself fully to spiritual work. … Males pursuing a monastic life are generally called monks while female monastics are called nuns.
(meaning of monk: a member of a group of religious men who do not marry and usually live together in a monastery)