حَدَّثَنَا أَحْمَدُ بْنُ يُونُسَ، حَدَّثَنَا أَبُو شِهَابٍ، عَنْ مُغِيرَةَ بْنِ زِيَادٍ، عَنْ عَدِيِّ بْنِ عَدِيٍّ، عَنِ النَّبِيِّ صلى الله عليه وسلم نَحْوَهُ قَالَ ‏"‏ مَنْ شَهِدَهَا فَكَرِهَهَا كَانَ كَمَنْ غَابَ عَنْهَا ‏"‏ ‏.‏

A similar tradition has also been transmitted by ‘Adl from the prophet (PBUH) 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. Translation Not Available

Book Ref: Sunan Abi Dawud Book 39 Hadith 4346
Web Ref:  Sunan Abi Dawud Book 38 Hadith 4332