عَنْ أُمِّ سَلَمَةَ رَضِيَ اللَّهُ عَنْهَا أَنَّ النِّسَاءَ فِي عَهْدِ رَسُولِ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ إِذَا سَلَّمَ مِنَ الصَّلَاةِ الْمَكْتُوبَةِ قُمْنَ وَثَبَتَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ وَثَبَتَ مَنْ صَلَّى مِنَ الرِّجَالِ مَا شَاءَ اللَّهُ، فَإِذَا قَامَ رَسُولُ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَآلِهِ وَسَلَّمَ قَامَ الرِّجَالُ
It is narrated from Sayyida Umm Salama (may Allah be pleased with her) that in the time of the Messenger of Allah (peace and blessings be upon him), when women finished the obligatory prayers and said salam, they would stand up (to leave), but the Messenger of Allah (peace and blessings be upon him) and the men who prayed with him would remain seated for as long as Allah willed. Then, when the Messenger of Allah (peace and blessings be upon him) stood up, all of them would stand up as well.