He and Abu Sa'id reported the Prophet as saying, “No Muslim is afflicted by difficulty, continuous pain, anxiety, grief, injury, or care, or even by a thorn with which he is pierced, without God thereby making an atonement for his sins.”
I went in to visit the Prophet when he was jaded by fever, and touching him with my hand, I said, “You are seriously jaded by fever, messenger of God.” The Prophet replied, “Yes, I am twice as jaded as any of you.” I said, “That is because you have a double reward.” He replied that that was so and then said, “No Muslim is afflicted by injury, be it illness or something else, without God thereby causing his sins to drop away just as a tree sheds its leaves.”
Ibn ‘Abbas said that God’s messenger used to commend al-Hasan and al-Husain to God’s protection, saying “With God’s perfect words I commend you to God’s protection from every devil and poisonous creature and from every evil eye.” And he would say, “Your ancestor used to commend Ishmael and Isaac with them to God’s protection.”(Abraham is here said to have done to his sons the same as the Prophet did to his grandsons.)
Bukhari transmitted it. Most texts of al-Masabih have “with them” in the dual.