Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
ibnmajah:1996Muḥammad b. Ismāʿīl > Wakīʿ > Shaybān Abū Muʿāwiyah > Yaḥyá b. Abū Kathīr > Abū Sahm > Abū Hurayrah

the Messenger of Allah said: "There is a kind of protective jealousy that Allah loves and a kind that Allah hates. As for that which Allah loves, it is protective jealousy when there are grounds for suspicion. And as for that which He hates, it is protective jealousy when there are no grounds for suspicion."  

ابن ماجة:١٩٩٦حَدَّثَنَا مُحَمَّدُ بْنُ إِسْمَاعِيلَ حَدَّثَنَا وَكِيعٌ عَنْ شَيْبَانَ أَبِي مُعَاوِيَةَ عَنْ يَحْيَى بْنِ أَبِي كَثِيرٍ عَنْ أَبِي سَهْمٍ عَنْ أَبِي هُرَيْرَةَ قَالَ

قَالَ رَسُولُ اللَّهِ ﷺ مِنَ الْغَيْرَةِ مَا يُحِبُّ اللَّهُ وَمِنْهَا مَا يَكْرَهُ اللَّهُ فَأَمَّا مَا يُحِبُّ فَالْغَيْرَةُ فِي الرِّيبَةِ وَأَمَّا مَا يَكْرَهُ فَالْغَيْرَةُ فِي غَيْرِ رِيبَةٍ  


See similar narrations below:

Collected by Dārimī, Suyūṭī
darimi:2272Abū al-Mughīrah > al-Awzāʿī > Yaḥyá b. Abū Kathīr > Muḥammad b. Ibrāhīm > Ibn Jābir b. ʿAtīk from my father

[Machine] "The Messenger of Allah ﷺ said: From jealousy there is that which Allah loves, and from it there is that which Allah hates. The jealousy that Allah loves is the jealousy regarding suspicion, and the jealousy that Allah hates is the jealousy without any basis for suspicion."  

الدارمي:٢٢٧٢أَخْبَرَنَا أَبُو الْمُغِيرَةِ حَدَّثَنَا الْأَوْزَاعِيُّ حَدَّثَنَا يَحْيَى بْنُ أَبِي كَثِيرٍ عَنْ مُحَمَّدِ بْنِ إِبْرَاهِيمَ حَدَّثَنِي ابْنُ جَابِرِ بْنِ عَتِيكٍ حَدَّثَنِي أَبِي

أَنَّ رَسُولَ اللَّهِ ﷺ قَالَ مِنَ الْغَيْرَةِ مَا يُحِبُّ اللَّهُ وَمِنْهَا مَا يُبْغِضُ اللَّهُ فَالْغَيْرَةُ الَّتِي يُحِبُّ اللَّهُ الْغَيْرَةُ فِي الرِّيبَةِ وَالْغَيْرَةُ الَّتِي يُبْغِضُ اللَّهُ الْغَيْرَةُ فِي غَيْرِ رِيبَةٍ  

suyuti:23567a
Request/Fix translation

  

السيوطي:٢٣٥٦٧a

"مِنَ الغَيْرَة: مَا يُحِبُّ اللهُ، وَمِنْهَا مَا يَكْرَهُ اللهُ، فَأَمَّا مَا يُحِبُّ اللهُ فالغَيْرَةُ فِي الرِّيبَةِ، وَأَمَّا مَا يَكْرَهُ اللهُ فالْغَيرَةُ في غيرِ رِيبَة".  

[هـ] ابن ماجة عن أَبي هريرة