Urs bin Umayra reported,

The Prophet ﷺ said, "When a sin is committed on earth, whoever witnesses it and detests it," and once he said, "denounces it, is like one who was absent from it. And whoever was absent from it but was pleased with it is like one who witnessed it."

Abu Dawud 4345

Daif

حدثنا محمد بن العلاء أخبرنا أبو بكر حدثنا مغيرة بن زياد الموصلي عن عدي بن عدي

عن العرس ابن عميرة الكندي

عن النبي ﷺ قال إذا عملت الخطيئة في الأرض كان من شهدها فكرهها وقال مرة أنكرها كان كمن غاب عنها ومن غاب عنها فرضيها كان كمن شهدها

أبو داود 4345ضعيف
Contents
Reference
Commentary
Ayat
Collection
Sunan Abu Dawud
Book
Battles
Chapter
Command and prohibition
Numbering
Darussalam 4345
Abu Dawud 4345