Someone said to the Messenger of Allah ﷺ, "Do you not feel jealousy?"He replied, "By Allah, I do feel jealousy, and Allah is more jealous than I am, and out of His jealousy He has forbidden indecencies."
حدثنا الأسود بن عامر أخبرنا كامل عن أبي صالح
قيل لرسول الله ﷺ أما تغار قال والله إني لأغار والله أغير مني ومن غيرته نهى عن الفواحش
No references are available.
Bukhari narrated it in the Book of Marriage from Abu Naeem, Muslim narrated it in the Book of Repentance from Amr Naqid, and Tirmidhi narrated it in the Book of Marriage from Humayd bin Masada.