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.
tirmidhi:3217Muḥammad b. al-Muthanná > Ashhal b. Ḥātim > Ibn ʿAwn Ḥuddithnāh > ʿAmr b. Saʿīd > Anas b. Mālik

"I was with the Prophet ﷺ, and he came to the door of a woman with whom he had consummated marriage, and some people were with her. So, he left to fulfill his need, and was prevented (from her). Then he came back, and some people were still with her. Then he left to fulfill his need and came back and they had gone." He said: "So, I mentioned that to Abu Talhah and he said: 'If it is as you say, something shall surely be revealed concerning this,' and the Verse of Hijab was revealed.  

الترمذي:٣٢١٧حَدَّثَنَا مُحَمَّدُ بْنُ الْمُثَنَّى حَدَّثَنَا أَشْهَلُ بْنُ حَاتِمٍ قَالَ ابْنُ عَوْنٍ حُدِّثْنَاهُ عَنْ عَمْرِو بْنِ سَعِيدٍ عَنْ أَنَسِ بْنِ مَالِكٍ قَالَ

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