حَدَّثَنَا أَحْمَدُ بْنُ حَنْبَلٍ، وَيَحْيَى بْنُ مَعِينٍ، - الْمَعْنَى وَاحِدٌ - قَالاَ حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ، عَنْ مُحَمَّدِ بْنِ إِسْحَاقَ، حَدَّثَنَا أَبُو عُبَيْدَةَ بْنُ عَبْدِ اللَّهِ بْنِ زَمْعَةَ، عَنْ أَبِيهِ، وَعَنْ أُمِّهِ، زَيْنَبَ بِنْتِ أَبِي سَلَمَةَ عَنْ أُمِّ سَلَمَةَ، - يُحَدِّثَانِهِ جَمِيعًا ذَاكَ عَنْهَا - قَالَتْ كَانَتْ لَيْلَتِي الَّتِي يَصِيرُ إِلَىَّ فِيهَا رَسُولُ اللَّهِ صلى الله عليه وسلم مَسَاءَ يَوْمِ النَّحْرِ فَصَارَ إِلَىَّ وَدَخَلَ عَلَىَّ وَهْبُ بْنُ زَمْعَةَ وَمَعَهُ رَجُلٌ مِنْ آلِ أَبِي أُمَيَّةَ مُتَقَمِّصَيْنِ فَقَالَ رَسُولُ اللَّهِ صلى الله عليه وسلم لِوَهْبٍ ‏"‏ هَلْ أَفَضْتَ أَبَا عَبْدِ اللَّهِ ‏"‏ ‏.‏ قَالَ لاَ وَاللَّهِ يَا رَسُولَ اللَّهِ ‏.‏ قَالَ صلى الله عليه وسلم ‏"‏ انْزِعْ عَنْكَ الْقَمِيصَ ‏"‏ ‏.‏ قَالَ فَنَزَعَهُ مِنْ رَأْسِهِ وَنَزَعَ صَاحِبُهُ قَمِيصَهُ مِنْ رَأْسِهِ ثُمَّ قَالَ وَلِمَ يَا رَسُولَ اللَّهِ قَالَ ‏"‏ إِنَّهَذَا يَوْمٌ رُخِّصَ لَكُمْ إِذَا أَنْتُمْ رَمَيْتُمُ الْجَمْرَةَ أَنْ تَحِلُّوا ‏"‏ ‏.‏ يَعْنِي مِنْ كُلِّ مَا حَرُمْتُمْ مِنْهُ إِلاَّ النِّسَاءَ ‏"‏ فَإِذَا أَمْسَيْتُمْ قَبْلَ أَنْ تَطُوفُوا هَذَا الْبَيْتَ صِرْتُمْ حُرُمًا كَهَيْئَتِكُمْ قَبْلَ أَنْ تَرْمُوا الْجَمْرَةَ حَتَّى تَطُوفُوا بِهِ ‏"
Translation
Narrated Umm Salamah, Ummul Mu'minin

The night which the Messenger of Allah (ﷺ) passed with me was the one that followed the day of sacrifice (Yawn an-Nahr), and he came to me. Wahb ibn Zam'ah and a man from the family of Abu Umayyah entered upon me, both of them wearing shirts. The Messenger of Allah (ﷺ) said to Wahb: "Have you made ifadah (performed Tawaf az-Ziyarah), Abu Abdullah?" He said: "No, by Allah, O Messenger of Allah." He (the Prophet) said: "Take off your shirt." He said: So he took it off from over his head, and his companion took off his shirt from over his head. Then he said: "And why (should we take it off), O Messenger of Allah?" He replied: "This is a day on which you have been granted a dispensation: when you have pelted the jamrah, you may become lawful," meaning from everything that was prohibited to you except women. "And if evening comes before you have circumambulated this House, you revert to being in the sacred state (ihram) just like your state before you pelted the jamrah, until you circumambulate it."