Hadithcore
Mishkat al-Masabih, 3709

Mu'awiya told that he heard God’s Messenger say,” When you look into people’s secrets you corrupt them.”* Baihaqi transmitted it in <i>Shu'ab al-iman</i>. * This is a prohibition of delving into other people’s affairs and disclosing things which should not be disclosed, as this makes life difficult for them. It is the same idea as in the previous tradition.

وَعَنْ مُعَاوِيَةَ قَالَ: سَمِعْتُ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ يَقُولُ: «إِنَّكَ إِذَا اتَّبَعْتَ عَوْرَاتِ النَّاسِ أَفْسَدْتَهُمْ» . رَوَاهُ الْبَيْهَقِيُّ فِي «شُعَبِ الْإِيمَان»

References1 variant
In-Book Reference
Book 18, Hadith 48