Mishkat al-Masabih 1679
وَعَنْ نَافِعٍ أَبِي غَالِبٍ قَالَ: صَلَّيْتُ مَعَ أَنَسِ بْنِ مَالِكٍ عَلَى جَنَازَةِ رَجُلٍ فَقَامَ حِيَال رَأسه ثمَّ جاؤوا بِجَنَازَةِ امْرَأَةٍ مِنْ قُرَيْشٍ فَقَالُوا: يَا أَبَا حَمْزَةَ صَلِّ عَلَيْهَا فَقَامَ حِيَالَ وَسَطِ السَّرِيرِ فَقَالَ لَهُ الْعَلَاءُ بْنُ زِيَادٍ: هَكَذَا رَأَيْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَامَ على الْجِنَازَة مَقَامَكَ مِنْهَا؟ وَمِنَ الرَّجُلِ مَقَامَكَ مِنْهُ؟ قَالَ: نَعَمْ. رَوَاهُ التِّرْمِذِيُّ وَابْنُ مَاجَهْ وَفِي رِوَايَةِ أَبِي دَاوُدَ نَحْوُهُ مَعَ زِيَادَةٍ وَفِيهِ: فَقَامَ عِنْد عجيزة الْمَرْأَة
From Nafiʿ Abu Ghalib, who said: I prayed with Anas ibn Malik over the funeral of a man, and he stood opposite his head. Then they brought the funeral of a woman of Quraysh and said: "O Abu Hamzah, pray over her." So he stood opposite the middle of the bier. Al-ʿAlaʾ ibn Ziyad said to him: "Is this how you saw the Messenger of Allah ﷺ stand at the funeral [of a woman], where you stood from her, and [at that] of a man, where you stood from him?" He said: "Yes." Reported by at-Tirmidhi and Ibn Majah. In the narration of Abu Dawud there is something similar with an addition, and in it: So he stood at the hips of the woman.