Sayyida Umm Salama (may Allah be pleased with her) narrates: In the blessed time of the Prophet (peace and blessings of Allah be upon him), women would stand up when the Prophet (peace and blessings of Allah be upon him) finished the obligatory prayer with salam, and the Prophet (peace and blessings of Allah be upon him) and the men who prayed behind him would remain seated. Then, when the Prophet (peace and blessings of Allah be upon him) stood up, the men would also stand up.
Hadith Referenceصحیح ابن حبان / كتاب الصلاة / 2234
Hadith Gradingفضيلة الشيخ الإمام محمد ناصر الدين الألبانيصحيح: خ - انظر ما قبله.فضيلة الشيخ العلّامة شُعيب الأرناؤوطإسناده صحيح على شرط البخاري.