41 “Then he will say to those on his left, ‘Depart from me, you accursed, into the eternal fire that has been prepared for the devil and his angels! 42 For I was hungry and you gave me nothing to eat, I was thirsty and you gave me nothing to drink. 43 I was a stranger and you did not receive me as a guest, naked and you did not clothe me, sick and in prison and you did not visit me.’ 44 Then they too will answer, ‘Lord, when did we see you hungry or thirsty or a stranger or naked or sick or in prison, and did not give you whatever you needed?’ 45 Then he will answer them, ‘I tell you the truth, just as you did not do it for one of the least of these, you did not do it for me.’ 46 And these will depart into eternal punishment, but the righteous into eternal life.”
Rav said: Anyone who visits the ill is spared from the judgment of Gehenna, as it is stated: “Happy is he that considers the poor; the Lord will deliver him in the day of evil” (Psalms 41:2). In this verse, the term poor [dal] means nothing other than ill, as it is stated in the prayer of Hezekiah when he was ill: “He will cut me off from the illness [middalla]” (Isaiah 38:12). Alternatively, it may be derived from this verse in which Jonadab asked his sick friend Amnon, son of King David: “Why, son of the king, are you so sick [dal] from morning to morning?” (II Samuel 13:4). And the term evil means nothing other than Gehenna, as it is stated: “The Lord made everything for His own purpose, and even the wicked for the day of evil” (Proverbs 16:4), and the ultimate punishment of the evildoer is Gehenna.