The Prophet ﷺ said, "Allah feels jealousy, and the believer feels jealousy. Allah's jealousy is that a believer should go near what He has forbidden him."
حدثنا عفان عن أبان حدثنا يحيى بن أبي كثير حدثنا أبو سلمة بن عبد الرحمن عن أبي هريرة أن النبي ﷺ قال المؤمن يغار فذكر مثله
Its isnad is sahih, it was mentioned previously in 10683.10871m - Affan narrated to us, Aban narrated to us, Yahya bin Abu Kathir narrated to us, Abu Salama bin Abdul-Rahman narrated to us, from Abu Hurairah, that the Prophet ﷺ said, "The believer feels jealousy," and he mentioned the like of it. Sahih (10871m), its isnad is sahih.