The orphaned granddaughter, and a daughter's children
Wherever this page says «orphaned grandson», the same applies to an orphaned granddaughter unless stated otherwise. If the example above had a granddaughter instead of a grandson, every result would stay the same: while a son is alive, the granddaughter does not inherit in any of the five schools, and under section 4, the obligatory bequest or the grandfather's will she receives what the grandson would.
When the deceased has no living son, in Hanafi, Maliki, Shafi‘i and Hanbali fiqh the son's daughter has a fixed share based on the Quran (4:11): one half for a single granddaughter, two thirds shared by two or more, and one sixth alongside one daughter. If there are two or more daughters, the granddaughter receives nothing unless a grandson of her own level is also present; then they take the remainder with the male receiving twice the female.
A daughter's children are distant kindred in Hanafi, Maliki, Shafi‘i and Hanbali fiqh, so they inherit only after the fixed-share heirs and the residuaries. In Fiqh Jafari, if the deceased has no living child, a daughter's children take their mother's full share, even a boy (Ayatollah Sistani, ruling 2756).
Pakistani law: section 4 speaks of «the children of a predeceased son or daughter», so orphaned grandsons, granddaughters and a daughter's sons and daughters are all included. This site's calculation includes a daughter's children in the same way.
Arab countries: under article 76 of Egypt's Law of Bequest 1946, the obligatory bequest is for the children of a person who died in the lifetime of his or her father or mother, that is, the children of both a son and a daughter (Egyptian Dar al-Ifta fatwa of 1980, in the references). Morocco's former article 266 was limited to a son's children; the 2004 Family Code (articles 369 to 372) added the children of a predeceased daughter.
Maulana Maududi: the book's title speaks of the orphaned grandson, but his discussion covers the children of both a predeceased son and a predeceased daughter; he mentions grandsons and granddaughters, and his objection applies to both alike (chapter «The error of the substitution principle»).
Example: daughter, granddaughter and brother ← · Egyptian Dar al-Ifta fatwa ↗ · Moroccan Family Code, article 369 ↗