Source: HadeethEnc.com, English v1.25.0
Arabic text
عن أبي هريرة رضي الله عنه قال: قال رسول الله صلى الله عليه وسلم : «لا يَمُوتُ لأحَدٍ من المسلمين ثلاثة من الوَلَد فتَمسُّه النَّار إلا تَحِلَّة القَسَم».
Translation
Abu Hurayrah (may Allah be pleased with him) reported that the Prophet (may Allah's peace and blessings be upon him) said: "Any Muslim who loses three of his children will not be touched by the Fire except in fulfillment of the oath."
Explanation
Whoever loses three children, whether they were male or female, then Allah will prohibit the fire of Hell from burning him, on condition that he was patient and content with Allah’s divine will. However, Allah will subject him to what He promised in the Qur'an, which is crossing over the Sirāt, or the bridge that passes over the Hellfire, in the verse: {There is not one of you but will pass over it (Hell); this is with your Lord a Decree which must be accomplished.} [Sūrat Maryam: 71]
Explanation: العربية
من مات له ثلاثة من الولد ذكورًا فقط أو إناثًا فقط أو من الذكور والإناث معًا، فإن الله تعالى يُحَرِّم جسده على النار، إذا صَبَر واحْتَسَب ورضِي بقضاء الله تعالى وقَدَره، إلا بِقَدْر إبرار القسم، وهو عبور الصراط؛ لقوله عز وجل: (وإن منكم إلا واردها).
- المؤمن الذي يموت له ثلاثة أولاد، فيَحْتَسِب ويصبر، ويرضى بقضاء الله وقدره لا تمسه النار، وإن وروده على الصراط لا يؤذيه لظاها إن كان من أهل السعادة وإنما يجتازها كلَمْحِ البَصَر.
- ما مِنْ أحد إلا سَيَمُر على الصِّراط المَنْصُوب على مَتن جهنم.