Ata' (may Allah have mercy on him) said: I said to Ibn Abbas (may Allah be pleased with them both): Two sisters of mine are under my care, and I spend on them. Should I also seek their permission (that is, when entering the house)? He answered yes. I said to him: That is a hardship for me. He said: Allah Almighty says: "O you who believe, let them ask your permission" [Surah al-Nur: 58]. Ibn Abbas (may Allah be pleased with them both) said: The command is to seek permission at these three times. Then he recited this verse: "And when the children reach (puberty)" [Surah al-Nur: 59].
Hadith Referenceالسنن الكبرى للبيهقي / كتاب النكاح / 13554