The Prophet ﷺ mentioned this story and said, "The fornication of the ear is listening."
حدثنا قتيبة بن سعيد حدثنا الليث عن ابن عجلان عن القعقاع بن حكيم عن أبي صالح
عن النبي ﷺ بهذه القصة قال والأذن زناها الاستماع
No references are available.
[Sahih] Ahmad narrated it, 3/379, hadith 8919, from Qutayba, through the same chain, and the preceding hadith serves as a corroborating witness for it.