It is narrated from Sayyiduna Abdullah bin Abbas (may Allah be pleased with them both) that he heard the Messenger of Allah (peace and blessings be upon him) say (there is a gap in the text here): "Whoever from my Ummah has two children who die before him (farat), Allah Almighty will admit him into Paradise because of them both." A woman said: "O Prophet of Allah, and whoever from your Ummah has only one child who has gone ahead?" He (peace and blessings be upon him) said: "And whoever has only one child who has gone ahead (this glad tiding is for him too), O woman granted success!" She said: "And whoever from your Ummah has no child who died before him?" He (peace and blessings be upon him) said: "Then I am the farat (the one who goes ahead) of my Ummah, for they will not be afflicted with any calamity like (losing) me."
Imam al-Tirmidhi (may Allah have mercy on him) narrated this hadith through Nasr bin Ali and Ziyad bin Yahya al-Basri from Abd Rabbih al-Hanafi, who said: "I heard my maternal grandfather Simak bin al-Walid narrating that he heard (it from Ibn Abbas (may Allah be pleased with them both))," and then he mentioned the hadith.
Also, Ahmad bin Sa'id al-Murabiti narrated something similar in meaning through Habban bin Hilal from Abd Rabbih, and (Imam al-Tirmidhi, may Allah have mercy on him) said: "This hadith is gharib (strange); we know it only from the narration of Abd Rabbih, and more than one of the Imams have narrated from him."
I (Imam Diya al-Din al-Maqdisi, may Allah have mercy on him) say: More than one scholar has criticised Abd Rabbih, while Imam Ahmad (may Allah have mercy on him) said: "There is no harm in him," and Amr bin Ali (may Allah have mercy on him) praised him.