As it is stated in the sources, Ali washed the funeral of the Holy Prophet. After shrouding, it was decided to bury him in Aisha’s room. Muslims - firstly men, then women, and lastly children – performed the funeral prayer in this room in groups on their own without an imam.