It is narrated from Asma bint Umais (may Allah be pleased with her) that Fatimah, the daughter of the Messenger of Allah (ﷺ), made a will that when she passed away, Ali (may Allah be pleased with him) should give her the ritual bath (ghusl). When she passed away, Ali (may Allah be pleased with him) gave her the ritual bath.
Hadith Referenceمسند الإمام الشافعي / كتاب الجنائز / 564
Hadith Takhrijاسناده ضعيف، لضعف شيخ الشافعي : اخرجه البيهقي في المعرفة السنن والآثار (2075) ۔ والدارقطنی : 2/ 79 ۔ وعبد الرزاق (6122) ۔ والبيهقي في الكبرى : 396/3، 397۔