It was narrated that `Ali (رضي الله عنه) said:
When Abu Talib died, I came to the Prophet (ﷺ) and said: Your paternal uncle, the old man, has died. He said: “Go and bury him, then do not do anything until you come to me.` So I went and buried him, then I came to him and he said: “Go and do ghusl, then do not do anything until you come to me.” So I did ghusl, then I came to him and he offered du`a` for me, and I would not be happy if I had red and black camels instead of that. [The narrator] said: And ‘Ali (رضي الله عنه) used to do ghusl when he had washed a deceased person.