Private Devotional Exercises in a Mosque - Section 2 Mishkat al-Masabih 2105
Arabic hadith text
وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَعُودُ الْمَرِيضَ وَهُوَ مُعْتَكِفٌ فَيَمُرُّ كَمَا هُوَ فَلَا يُعَرِّجُ يَسْأَلُ عَنْهُ. رَوَاهُ أَبُو دَاوُدَ وَابْنُ مَاجَهْ
Translation
She said that the Prophet used to visit the sick while engaged in a period of private devotion in the mosque and he would pass on straight ahead without pausing and ask for him. Abu Dawud transmitted it.