Sahih al-Bukhari, Book 23, Hadith 11 (Bukhari 1211)

Narrated Anas:

The Prophet (ﷺ) said, "A Muslim whose three children die before the age of puberty will be granted Paradise by Allah due to his mercy for them."