Hadithcore
Riyad as-Salihin, 853

Al-Miqdad (May Allah be pleased with him) reported in a long Hadith:

We used to reserve for the Prophet (ﷺ) his share of the milk, and he would come at night and offer greetings in such a manner as did not disturb those asleep and was heard only by those who were awake. In fact, the Prophet (ﷺ) came and offered greetings as usual. <b>[Muslim]</b>.

وعن المقداد رضي الله عنه في حديثه الطويل قال‏:‏ كنا نرفع للنبي صلى الله عليه وسلم نصيبه من اللبن، فيجيء من الليل، فيسلم تسليمًا لا يوقظ نائمًا، ويسمع اليقظان، فجاء النبي صلى الله عليه وسلم فسلم كما كان يُسلم‏.‏ ‏(‏‏(‏رواه مسلم‏)‏‏)‏‏.‏

References1 variant
In-Book Reference
Book 5, Hadith 10
Sharh · explanationclick to expand
<b>Guidance from the Hadith:</b><br> 1) It shows the Prophet’s perfect guidance and his mercy towards the believers. His greeting would be heard by those awake and not disturb those asleep.<br> 2) There should be no harm nor reciprocation of harm; an Islamic rule.