Abu Huraira (RadhiAllahuanhu) reported: Allah's Messenger (P.B.U.H) as saying: "When a man dies, his acts come to an end, but three; recurring charity, knowledge (by which people benefit) and pious children who prays for him (for the deceased)."