At the time of Prophet Muhammad, women themselves were an object of inheritance because they were considered to be part of the possessions of a man. Pre-Islamic Arabs were not the only community to have such views. The Qur'an, however, established the right of women to a share in inheritance and indeed determined the shares that male and female heirs of the deceased should have. This "determined" share is calculated by Allah Himself in His wisdom and cannot be changed, and any will that recommends the exclusion of a particular heir renders it null and void. There is a verse in the Qur'an detailing the Islamic position on inheritance that was revealed in response to a complaint made by a Muslim woman to the Prophet: her brother-in-law had taken the whole of her recently deceased husband's property, even though she had two daughters.