Etiquette of Visiting the Sick|It is recommended that the visitor pray for the recovery and health of the patient and that he should urge him to endure his trouble patiently. He should say nice words to cheer him up and keep his spirits high. The Prophet, peace be upon him, said: “When you visit a sick person, give him hope for a long life. This will not avert anything, but will please the patient and give him comfort.” When the Prophet, peace be upon him, visited a sick person he used to say to him: “Do not worry! It is a means of cleansing (you) of sins, Allah willing.”
It is preferred to shorten the visits and to make them less frequent as far as possible, lest they should become burdensome for the patient, except when the patient himself desires longer and more frequent visits.