"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) (Using translation from Tirmidhī 944)
«مَنْ حَجَّ فَلْيَكُنْ آخِرُ عَهْدِهِ بِالْبَيْتِ إِلَّا الْحُيَّضَ رَخَّصَ لَهُنَّ رَسُولُ اللهِ ﷺ»