Sahih al-Bukhari, Book 23, Hadith 13 (Bukhari 1213)

Narrated Abu Huraira:

The Prophet (ﷺ) said, "No Muslim whose three children died will go to the Fire except for Allah's oath (i.e. everyone has to pass over the bridge above the lake of fire)."