Hadith 4345
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 4346
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.