كتاب الجنائز
Read the English translation first, with the original Arabic directly underneath.
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 Your 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)".
حَدَّثَنَا يَزِيدُ بْنُ خَالِدٍ الرَّمْلِيُّ، حَدَّثَنَا ابْنُ وَهْبٍ، عَنْ حُيَىِّ بْنِ عَبْدِ اللَّهِ، عَنْ أَبِي عَبْدِ الرَّحْمَنِ الْحُبُلِيِّ، عَنِ ابْنِ عَمْرٍو، قَالَ قَالَ النَّبِيُّ صلى الله عليه وسلم " إِذَا جَاءَ الرَّجُلُ يَعُودُ مَرِيضًا فَلْيَقُلِ اللَّهُمَّ اشْفِ عَبْدَكَ يَنْكَأُ لَكَ عَدُوًّا أَوْ يَمْشِي لَكَ إِلَى جَنَازَةٍ " . قَالَ أَبُو دَاوُدَ وَقَالَ ابْنُ السَّرْحِ " إِلَى صَلاَةٍ " .