In Islam, there are specific phrases that can be said when someone dies. One common phrase is "Allah yirhamha" for a deceased woman, which means "May Allah bless her soul". Another phrase is "Allah yirhamou" for a deceased man, which means "May Allah bless his soul". Another phrase that can be used is "Inna Lillahi wa inna ilayhi rajiun," which is an Arabic phrase mentioned in the Quran and means "Indeed, we belong to Allah, and indeed, to Him we return". This phrase is commonly recited by Muslims upon hearing that someone has passed away.