Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5192ʿAbdullāh b. Maslamah > ʿAbd al-ʿAzīz / Ibn Muḥammad > ʿAmr b. Abū ʿAmr > ʿIkrimah

Ikrimah said: A group of people from Iraq said: Ibn Abbas, what is your opinion about the verse in which we have been commanded whatever we have been commanded, but no one acts upon it? The word of Allah, Most High, reads: "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 enter your presence on three occasions: before morning prayer, while you are undressing for the noonday heat, and after 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." Al-Qa'nabi recited the verse up to "full of knowledge and wisdom". Ibn Abbas said: Allah is Most Clement and Most Merciful to the believers. He loves concealment. The people had neither curtains nor curtained canopies in their houses. Sometimes a servant, a child or a female orphan of a man entered while the man was having sexual intercourse with his wife. So Allah commanded them to ask permission in those times of undress. Then Allah brought them curtains and all good things. But I did not see anyone following it after that. Abu Dawud said: The tradition of 'Ubaid Allah and of 'Ata, weakens this tradition.  

أبو داود:٥١٩٢حَدَّثَنَا عَبْدُ اللَّهِ بْنُ مَسْلَمَةَ حَدَّثَنَا عَبْدُ الْعَزِيزِ يَعْنِي ابْنَ مُحَمَّدٍ عَنْ عَمْرِو بْنِ أَبِي عَمْرٍو عَنْ عِكْرِمَةَ

أَنَّ نَفَرًا مِنْ أَهْلِ الْعِرَاقِ قَالُوا يَا ابْنَ عَبَّاسٍ كَيْفَ تَرَى فِي هَذِهِ الآيَةِ الَّتِي أُمِرْنَا فِيهَا بِمَا أُمِرْنَا وَلاَ يَعْمَلُ بِهَا أَحَدٌ قَوْلُ اللَّهِ ﷻ { يَا أَيُّهَا الَّذِينَ آمَنُوا لِيَسْتَأْذِنْكُمُ الَّذِينَ مَلَكَتْ أَيْمَانُكُمْ وَالَّذِينَ لَمْ يَبْلُغُوا الْحُلُمَ مِنْكُمْ ثَلاَثَ مَرَّاتٍ مِنْ قَبْلِ صَلاَةِ الْفَجْرِ وَحِينَ تَضَعُونَ ثِيَابَكُمْ مِنَ الظَّهِيرَةِ وَمِنْ بَعْدِ صَلاَةِ الْعِشَاءِ ثَلاَثُ عَوْرَاتٍ لَكُمْ لَيْسَ عَلَيْكُمْ وَلاَ عَلَيْهِمْ جُنَاحٌ بَعْدَهُنَّ طَوَّافُونَ عَلَيْكُمْ } قَرَأَ الْقَعْنَبِيُّ إِلَى { عَلِيمٌ حَكِيمٌ } قَالَ ابْنُ عَبَّاسٍ إِنَّ اللَّهَ حَلِيمٌ رَحِيمٌ بِالْمُؤْمِنِينَ يُحِبُّ السَّتْرَ وَكَانَ النَّاسُ لَيْسَ لِبُيُوتِهِمْ سُتُورٌ وَلاَ حِجَالٌ فَرُبَّمَا دَخَلَ الْخَادِمُ أَوِ الْوَلَدُ أَوْ يَتِيمَةُ الرَّجُلِ وَالرَّجُلُ عَلَى أَهْلِهِ فَأَمَرَهُمُ اللَّهُ بِالاِسْتِئْذَانِ فِي تِلْكَ الْعَوْرَاتِ فَجَاءَهُمُ اللَّهُ بِالسُّتُورِ وَالْخَيْرِ فَلَمْ أَرَ أَحَدًا يَعْمَلُ بِذَلِكَ بَعْدُ  

قَالَ أَبُو دَاوُدَ حَدِيثُ عُبَيْدِ اللَّهِ وَعَطَاءٍ يُفْسِدُ هَذَا

See similar narrations below:

Collected by Bayhaqī
bayhaqi:13554Abū Naṣr b. Qatādah > Abū Manṣūr al-Naḍrawī > Aḥmad b. Najdah > Saʿīd b. Manṣūr > Sufyān > ʿAmr b. Dīnār > ʿAṭāʾ

[Machine] I asked Ibn Abbas regarding my two foster sisters who are under my care, and I spend on them. Should I seek their permission? He replied, "Yes." I repeatedly said, "This would be difficult for me." He said, "Verily, Allah, the Exalted, has said: O you who have believed, let those whom your right hands possess and those who have not [yet] reached puberty among you ask permission of you [before entering] at three times: before the dawn prayer and when you put aside your clothing [for rest] at noon and after the night prayer. [These are] three times of privacy for you." [Al-Nur 58] until the end of the verse. Ibn Abbas said, "These people are only commanded to seek permission in the three times of privacy." He said, "And when the children among you reach puberty, let them ask permission [at all times] as those before them have done." [Al-Nur 59]  

البيهقي:١٣٥٥٤أَخْبَرَنَا أَبُو نَصْرِ بْنُ قَتَادَةَ أنبأ أَبُو مَنْصُورٍ النَّضْرَوِيّ ثنا أَحْمَدُ بْنُ نَجْدَةَ ثنا سَعِيدُ بْنُ مَنْصُورٍ ثنا سُفْيَانُ عَنْ عَمْرِو بْنِ دِينَارٍ عَنْ عَطَاءٍ قَالَ

قُلْتُ لِابْنِ عَبَّاسٍ فِي حِجْرِي أُخْتَانِ أُمَوِّنُهُمَا وَأُنْفِقُ عَلَيْهِمَا فَأَسْتَأْذِنُ عَلَيْهِمَا؟ قَالَ نَعَمْ فَرَادَدْتُهُ قُلْتُ إِنَّ ذَا يَشُقُّ عَلَيَّ قَالَ إِنَّ اللهَ تَعَالَى يَقُولُ {يَا أَيُّهَا الَّذِينَ آمَنُوا لِيَسْتَأْذِنْكُمُ الَّذِينَ مَلَكَتْ أَيْمَانُكُمْ وَالَّذِينَ لَمْ يَبْلُغُوا الْحُلُمَ مِنْكُمْ ثَلَاثَ مَرَّاتٍ مِنْ قَبْلِ صَلَاةِ الْفَجْرِ وَحِينَ تَضَعُونَ ثِيَابَكُمْ مِنَ الظَّهِيرَةِ وَمِنْ بَعْدِ صَلَاةِ الْعِشَاءِ ثَلَاثُ عَوْرَاتٍ لَكُمْ} [النور 58] إِلَى آخِرِ الْآيَةِ قَالَ ابْنُ عَبَّاسٍ فَلَمْ يَأْمُرْ هَؤُلَاءِ بِالْإِذْنِ إِلَّا فِي الْعَوْرَاتِ الثَّلَاثِ قَالَ {وَإِذَا بَلَغَ الْأَطْفَالُ مِنْكُمُ الْحُلُمَ فَلْيَسْتَأْذِنُوا كَمَا اسْتَأْذَنَ الَّذِينَ مِنْ قَبْلِهِمْ} [النور 59]