Hazrat Shaikh Moulana Muhammad Zakariyya (rahmatullahi ‘alaih) once mentioned the following:

Many of my children had passed away in infancy. When any child would pass away, and the mother (i.e. my wife) would weep, then I would (console her and) say to her, “Neither you, nor I, possess any good deeds. Insha-Allah, all of this (grief that we are experiencing and sabr that we are exercising) will be combined on the Day of Qiyaamah and will be a means of removing the burden of our sins.”

(Qutbul Aqtaab Hazrat Shaikhul Hadith Moulana Muhammad Zakariyya [rahmatullahi ‘alaih] pg. 509)

Source: Ihyaauddeen.co.za