IBNMAJAH 1494:
from Jināzah a man Faqām Ḥiyāl Raʾsih Fajīʾ Bijināzah Ukhrá Biāmraʾah Faqālūā Yā Abū Ḥamzah Ṣal ʿAlayhā Faqām Ḥiyāl And Saṭ al-Sarīr —
“I saw Anas bin Malik offering the funeral prayer for a man, and he stood level with his head. Then another funeral was brought, that of a woman, and they said: ‘O Abu Hamzah! Offer the funeral prayer for her.’ So he stood level with the middle of the bed (the body was upon). ‘Ala’ bin Ziyad said to him: ‘O Abu Hamzah! Is this how you saw the Messenger of Allah ﷺ standing in relation to the body of a man and a woman as you have stood?’ He said: ‘Yes.’ Then he turned to us and said: ‘Remember this.’”
ابن ماجة ١٤٩٤:
عن جنازه ا من فقام حيال رءسه فجيء بجنازه اخرى بامرءه فقالوا يا ابو حمزه صل عليها فقام حيال و سط السرير —
لَهُ الْعَلاَءُ بْنُ زِيَادٍ يَا أَبَا حَمْزَةَ هَكَذَا رَأَيْتَ رَسُولَ اللَّهِ ﷺ قَامَ مِنَ الْجِنَازَةِ مُقَامَكَ مِنَ الرَّجُلِ وَقَامَ مِنَ الْمَرْأَةِ مُقَامَكَ مِنَ الْمَرْأَةِ قَالَ نَعَمْ فَأَقْبَلَ عَلَيْنَا فَقَالَ احْفَظُوا
hadithunlocked.com