Wiping with the right hand while saying it
Aisha described exactly what he did when he visited someone ill.
أَذْهِبِ الْبَاسَ رَبَّ النَّاسِ اشْفِهِ أَنْتَ الشَّافِي لاَ شِفَاءَ إِلاَّ شِفَاؤُكَ شِفَاءً لاَ يُغَادِرُ سَقَمًا
Adhhibi-l-ba'sa Rabba-n-nās, ishfihi anta-sh-Shāfī, lā shifā'a illā shifā'uk, shifā'an lā yughādiru saqamā.
“Remove the harm, Lord of the people. Cure him, You are the Curer. There is no cure except Your cure, a cure that leaves no illness behind.”
The full narration
A'isha reported Allah's Messenger (ﷺ) as saying:When Allah's Messenger (ﷺ) visited the sick he would say: Lord of the people. remove the disease, cure him, for Thou art the great Curer, there is no cure but through Thine healing Power, which leaves nothing of the disease
Source
Ṣaḥīḥ Muslim · 5709
Ṣaḥīḥ
- Agreed upon as authentic (al-Bukhārī / Muslim)