Narrated Al-Urs bin Amirat al-Kindi: The Prophet ﷺ said: When sin is done in the earth, he who sees it and disapproves of it will be taken like one who was not present, but he who is not present and approves of it will be like him who sees.
Hadith Referenceسنن ابي داود / كتاب الملاحم / 4345
Hadith Gradingالألبانی:حسن | زبیر علی زئی:إسناده حسن, مشكوة المصابيح (5141)
A similar tradition has also been transmitted by ‘Adl from the prophet ﷺ though a different chain of narrators. This version has: He who sees it and disapproves of it will be like him who was not present.
Hadith Referenceسنن ابي داود / كتاب الملاحم / 4346
Hadith Gradingالألبانی:حسن | زبیر علی زئی:حسن, انظر الحديث السابق (4345) والآتي (4347)