The adhkar reported at times of illness and visiting the sick, and at calamity and condolence.
Arabic is the original text; the translation is an aid to understanding.
لَا بَأْسَ، طَهُورٌ إِنْ شَاءَ اللَّهُ
No harm; it is a purification, if Allah wills.
When visiting the sick, Narrated by al-Bukhari Virtue & source
Source: Reported by al-Bukhari from the hadith of Ibn ‘Abbas.
أَسْأَلُ اللَّهَ الْعَظِيمَ رَبَّ الْعَرْشِ الْعَظِيمِ أَنْ يَشْفِيَكَ
I ask Allah the Almighty, Lord of the Mighty Throne, to cure you.
Visiting a sick person whose time has not come, Narrated by Abu Dawud and al-Tirmidhi Virtue & source
Virtue: “Any Muslim servant who visits a sick person whose time has not come and says seven times beside him… Allah will cure him of that illness.”
Source: Reported by Abu Dawud and al-Tirmidhi, graded sahih by al-Albani.
بِسْمِ اللَّهِ (ثلاثاً)، ثُمَّ: أَعُوذُ بِاللَّهِ وَقُدْرَتِهِ مِنْ شَرِّ مَا أَجِدُ وَأُحَاذِرُ
In the name of Allah (three times), then: I seek refuge in Allah and in His power from the evil of what I feel and fear.
The patient places his hand on the place of pain and says this, Narrated by Muslim Virtue & source
Source: Reported by Muslim from the hadith of ‘Uthman ibn Abi al-‘As.
إِنَّا لِلَّهِ وَإِنَّا إِلَيْهِ رَاجِعُونَ، اللَّهُمَّ اؤْجُرْنِي فِي مُصِيبَتِي، وَأَخْلِفْ لِي خَيْرًا مِنْهَا
To Allah we belong and to Him we return. O Allah, reward me in my affliction and replace it with something better.
At a calamity, Narrated by Muslim Virtue & source
Virtue: Whoever says it, Allah rewards him in his calamity and replaces it with something better.
Source: Reported by Muslim from the hadith of Umm Salamah.
إِنَّ لِلَّهِ مَا أَخَذَ، وَلَهُ مَا أَعْطَى، وَكُلُّ شَيْءٍ عِنْدَهُ بِأَجَلٍ مُسَمًّى، فَلْتَصْبِرْ وَلْتَحْتَسِبْ
Indeed, to Allah belongs what He took and to Him belongs what He gave, and everything with Him has an appointed term. So be patient and seek reward from Allah.
In condoling the bereaved (said to the family), Agreed upon (Bukhari and Muslim) Virtue & source
Source: Reported by al-Bukhari and Muslim from the hadith of Usamah ibn Zayd.
أَعْظَمَ اللَّهُ أَجْرَكَ، وَأَحْسَنَ عَزَاءَكَ، وَغَفَرَ لِمَيِّتِكَ
May Allah magnify your reward, grant you good consolation and forgive your deceased.
From the condolence, Mentioned in Hisn al-Muslim