Nafi‘ Abu Ghalib said he prayed along with Anas b. Malik at a man's funeral and he stood opposite his head. Then some people brought along the bier of a woman of Quraish and said, “Abu Hamza (The kunya of Anas b. Malik, the Prophet’s servant), pray over her,” and he stood opposite the middle of the bier. Al-‘Ala’ b. Ziyad said to him, “Thus did I see God’s messenger do. He stood over the bier in the same position as you did in relation to her and in the same position as you did in relation to the man.” He replied, “That is so.”
Tirmidhi and Ibn Majah transmitted it. In Abu Dawud’s version there is something similar, along with an addition containing the words “He stood at the woman’s buttocks.”
‘Abd ar-Rahman b. Abu Laila said that Sahl b. Hunaif and Qais b. Sa'd were sitting at al-QadisIya when a bier was brought past them. They stood up, and when they were told that it was one of the people of the land, i.e. of the dhimmis( Protected communities such as Jews and Christians), they replied that a bier came past God’s messenger and he stood up. On being told that it contained a Jew he said, “Is it not a soul?”
Wathila b. al-Asqa‘ said God’s messenger led them in prayer over a Muslim and he heard him say, “O God, so and so son of so and so is in Thy protection and in Thy nearer presence, so guard him from the trial in the grave and the punishment in hell. Thou art faithful and true. O God, forgive him and show him mercy. Thou art the forgiving and the merciful One.”