Jami` at-Tirmidhi, Book 9, Hadith 137 (In-Book)

Ibn Umar said: "Whoever performs Hajj to the House, then let the last of their acts be at the House, except for menstruating women. The Messenger of Allah gave them permission (to leave)." (Sahih Mawquf)

حَدَّثَنَا أَبُو عَمَّارٍ، حَدَّثَنَا عِيسَى بْنُ يُونُسَ، عَنْ عُبَيْدِ اللَّهِ بْنِ عُمَرَ، عَنْ نَافِعٍ، عَنِ ابْنِ عُمَرَ، قَالَ مَنْ حَجَّ الْبَيْتَ فَلْيَكُنْ آخِرُ عَهْدِهِ بِالْبَيْتِ إِلاَّ الْحُيَّضَ وَرَخَّصَ لَهُنَّ رَسُولُ اللَّهِ صلى الله عليه وسلم ‏.‏ قَالَ أَبُو عِيسَى حَدِيثُ ابْنِ عُمَرَ حَدِيثٌ حَسَنٌ صَحِيحٌ ‏.‏ وَالْعَمَلُ عَلَى هَذَا عِنْدَ أَهْلِ الْعِلْمِ ‏.‏

sunnah.com