Hadithcore
Al-Adab Al-Mufrad, 1072
sahih· Al-Albani

Anas said, "A man looked through a gap into the room of the Prophet, (ﷺ), and the Messenger of Allah aimed an arrow-head at him, and the man withdrew his head."

حَدَّثَنَا مُحَمَّدُ بْنُ سَلاَمٍ، قَالَ‏:‏ أَخْبَرَنَا الْفَزَارِيُّ، عَنْ حُمَيْدٍ، عَنْ أَنَسٍ قَالَ‏:‏ اطَّلَعَ رَجُلٌ مِنْ خَلَلٍ فِي حُجْرَةِ النَّبِيِّ صلى الله عليه وسلم، فَسَدَّدَ رَسُولُ اللهِ صلى الله عليه وسلم بِمِشْقَصٍ، فَأَخْرَجَ الرَّجُلُ رَأْسَهُ‏.‏

References2 variants
In-Book Reference
Book 43, Hadith 22
English Reference
Book 43, Hadith 1072