Narrated Abdullah ibn Amr ibn al-As: The Prophet ﷺ said: When a man comes to visit a sick person, he should say: O Allah, cure Thy servant, who may then wreak havoc on an enemy for your sake, or walk at a funeral for your sake. Abu Dawud said: Ibn As-Sarh (one of the narrators) said: "Ilas-salat (To the Salat)".
Explanation & Benefits
Shaykh Umar Farooq Saeedi
Benefits and Issues:
Participating in jihad and fighting, taking part in the funeral of a Muslim, and going to the mosque for prayer are acts of utmost closeness.
Source: Sunan Abu Dawood – Commentary by Shaykh Umar Farooq Saeedi, Page: 3107