Volume 9 · Book 83 · Hadith 38a
Narrated Anas: A man peeped into one of the dwelling places of the Prophet. The Prophet got up and aimed a sharp-edged arrow head (or wooden stick) at him to poke him stealthily.
— Sahih Bukhari, Volume 9, Book 83: Blood Money (Ad-Diyat), Hadith #38a