All perfect praise be to Allah the Lord of the Worlds. May Allah`s peace and blessings be upon our Prophet Mohammad and upon all his family and companions.
A legacy to an heir is not allowable unless the other adult heirs are agreeable since the Prophet (PBUH) said: “A legacy to an heir is not allowable unless the other heirs are agreeable.” {Related by Dar Qhotni & al-Baihaqhi}.
However, if some of the heirs are agreeable while others aren`t, then the legacy is allowed in the share of the agreeable while other shares must be divided according to Islamic Law. The wife gets an eighth and the rest goes to the children where a male gets a portion equal to that of two females. And Allah The Almighty Knows Best.