Does the grandson inherit from his grandfather?
Question

                I’ve heard that if a man dies, leaving behind children and his father is still alive, the children of that man do not inherit the property of their grandfather (the man’s father). I want to know if this is true according to Sharee’ah. I wanted to know this because I feel that Allah would not have ordered such an unfair division especially when those fatherless children are more in need of care. If such a rule is there, then there must be some conditions. Could you kindly throw some light on this according to Islamic Laws of Inheritance with proofs from Ahaadeeth and the Qur’an?.
Praise be to Allah.What you mentioned about the sons of the 
    deceased son not inheriting from their grandfather is correct, but that is subject to the condition that the deceased grandfather does not have 
    one or more living sons. In that case the grandsons are prevented from inheriting by the presence of the son, namely their paternal uncle. 
But if the grandfather does not have any 
    living sons, then his grandchildren inherit from him. 
What some of the common people think, that 
    the grandsons should take their father’s share, is contrary to the scholarly consensus that one of the conditions of inheritance is that there 
    should be certainty that the heir was alive after the death of the deceased, because in this case the son died before his father, so it is 
    impossible for him to have a share of his father’s estate who died after him. 
It says in Tuhfat al-Muhtaaj fi Sharh 
    al-Minhaaj (6/402): “ ‘If the two types are both present,’ meaning his own children and his son’s children, ‘whether his own child is male’ 
    only, or there is also a female, ‘the son’s children are prevented from inheriting’ according to scholarly consensus.” 
But in a case where the son’s children do not 
    inherit, it is recommended to make a will in their favour, so long as it does not exceed one-third of the estate, especially if they are poor and 
    in need. 
In conclusion: 
The son’s children may inherit from their 
    grandfather on condition that he does not have any living son (whether this son is their father or their paternal uncle), in which case they do 
    not inherit. The scholars are agreed on this point. 
The Muslim should believe that whatever 
    Allaah has decreed is wise, just and merciful, even if they cannot see that, and that Allaah prescribes for His slaves that which is in their best 
    interests and will bring them prosperity and happiness. 
Allaah says (interpretation of the meaning): 
“Allaah intends for you ease, and He does 
    not want to make things difficult for you”
[al-Baqarah 2:185] 
“Allaah wishes to lighten (the burden) for 
    you; and man was created weak”
[al-Nisa’ 4:28] 
“But 
    no, by your Lord, they can have no Faith, until they make you (O Muhammad) judge 
    in all disputes between them, and find in themselves no resistance against your 
    decisions, and accept (them) with full submission”
[al-Nisa’ 4:65]
“It is 
    not for a believer, man or woman, when Allaah and His Messenger have decreed a matter that they should have any option in their decision. And 
    whoever disobeys Allaah and His Messenger, he has indeed strayed into a plain error”

    [al-Ahzaab 33:36] 
“And 
    who is better in judgement than Allaah for a people who have firm Faith”

    [al-Maa'idah 5:50]
See also questions no.
    1239, 13932,
    22466 
And Allaah knows best.