Please translate the given English sentence to Hindi
जब मुहम्मद अनाथ हो गए और बाद में अपने दादा अब्दुल मुतालिब को खो दिया, अली के पिता ने उन्हें अपने घर ले लिया।
When Muhammad was orphaned and later lost his grandfather Abdul Muttalib, Ali's father took him into his house.