Hadithcore
Mishkat al-Masabih, 2105

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.

وَعَنْ عَائِشَةَ رَضِيَ اللَّهُ عَنْهَا قَالَتْ: كَانَ النَّبِيُّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَعُودُ الْمَرِيضَ وَهُوَ مُعْتَكِفٌ فَيَمُرُّ كَمَا هُوَ فَلَا يُعَرِّجُ يَسْأَلُ عَنْهُ. رَوَاهُ أَبُو دَاوُدَ وَابْنُ مَاجَهْ

References1 variant
In-Book Reference
Book 7, Hadith 145