It is a fine inference from this verse read in conjunction with the verse...
It is a fine inference from this verse read in conjunction with the verse: The Prophet has a greater claim on the believers than they have on themselves, and his wives are their mothers; and the possessors of relationship have the better claim in the ordinance of Allah to inheritance, one with respect to another, than (other) believers, and (than) those who have fled (their homes), except that you do some good to your awliya’; this is written in the Book (33:6).
This verse abrogated the system prevalent in early days of Islam by which a "muhajir brother" inherited from his "ansar brother"; and initiated inheritance between the relatives; then it made an exception (from this rule of inheritance by relationship), and that was about doing some good to your awliyaa’*. Now Allah has made the Prophet al-waliyy and his pure progeny al-awliyaa' of the believers.
And this exception of doing good to the awliyaa’ brings it within the jurisdiction of the verse under discussion: Bequest... for parents and near relative. And the Imams are also the "near relatives" (of the Prophet). Understand it. The Fifth or the Sixth Imam said about the verse, Bequest is prescribed for you...: It is abrogated.
The verses of inheritance abrogated it." (al-Ayyashi) The author says: This tradition may be reconciled with the preceding ones if we say that it was only its obligatoriness which was abrogated; thus the order will continue as al-mustahabb (recommended) even after that. Abu Ja'far (a.s.) said about the verse, But he who fears an inclination (to a wrong course) or an act of disobedience. . .
: al-janaf is inclination to the side of error without knowing that it is allowed (or not)." (Majma’u l-bayan) as-Sadiq ( a.s.) said: "When a man has made his will, then it is not allowed to the executor to alter the bequest made; he should enforce it as (the testator) has bequeathed; except when (the testator) has made his will against the command of Allah, and done injustice (to an heir). Then it is allowed to the executor to bring the will to the truth (i.e. the right course).
Let us say, there is a man who has got some heirs; and he bequeaths all (his) property to some of the heirs, depriving the others. In such cases, it is allowed to the executor to bring the will to the right (course). And this is (the meaning of) the word of Allah, an inclination (to a wrong course) or an act of disobedience.