O ye who believe! let those whom your right hands possess, and the (children) among you who have not come of age ask your permission (before they come to your presence), on three occasions: before morning prayer; the while ye doff your clothes for the noonday heat; and after the late-night prayer: these are your three times of undress: outside those times it is not wrong for you or for them to move about attending to each other: Thus does God make clear the Signs to you: for God is full of knowledge and wisdom. (24:58)

But when the children among you come of age, let them (also) ask for permission, as do those senior to them (in age): Thus does God make clear His Signs to you: for God is full of knowledge and wisdom. (24:59)