The people were commanded to make their last act at the House, except that this was waived for menstruating women.
أمر الناس أن يكون آخر عهدهم بالبيت، إلا أنه خفف عن الحائض.
Bukhari narrated it in the Hajj chapter (1755), and Muslim in the Hajj chapter (1328:380), both through the route of Sufyan (he is Ibn Uyayna), from Ibn Tawus, from his father, from Ibn Abbas, who related it.