It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) prayed over the grave of a woman after she had been buried.
Muslim recorded it in al-Sahih through Ibrahim bin Muhammad bin Ar'arah from Ghundar in abridged form, that the Prophet (peace and blessings be upon him) "prayed over a grave," only that. [Sahih. Muslim recorded it.]
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الجنائز / 7010