All perfect praise be to Allaah, The Lord of the Worlds. I testify that there is none worthy of worship except Allaah, and that Muhammad, sallallaahu ‘alayhi wa sallam, is His Slave and Messenger.
We understood from the question that your husband's father made a bequest for his dead son's family to take his share of his father's estate (which he would have been entitled to had he outlived his father). If this is the case, then this is a valid and binding bequest because it is made to non-heirs. The deceased son's wife is not among the heirs of the father and his children are excluded by the presence of the deceased's living son as underlined in Fatwa 90126. Since the dead son's wife and children are not among the heirs, the bequest made to them is valid and binding.
Ibn Qudaamah said: "If the deceased made a bequest for a non-heir to take an equal share to that of a specific heir, then the beneficiary of the bequest is entitled to that share and it should be deducted before the division of the estate (among the heirs). This is the opinion of the majority of the scholars and was adopted by Abu Haneefah and Ash-Shaafi‘i." [Al-Mughni]
However, the bequest should not be executed if it exceeds one-third of the estate.
It should be highlighted, though, that such cases are rather critical and complex, requiring careful investigation. They should be referred to competent scholars who should be consulted directly and informed of a detailed account of the situation with no ambiguity so that they can identify the heirs and whether the bequest exceeds one-third of the estate or not.
Lastly, we implore Allaah to bless your husband with recovery.
Allaah Knows best.