But this didn't mean that the sheikh had broken the Islamic code of marriage which allows marrying only four wives at a time. The Islamic code allows the husband to have another wife if one of his wives is dead or if he lost her in divorce. Sheikh Muhammad Rashid was remarried three times because three of his wives were departed from him in death, and he divorced two of them on their own willing.