Saad bin Ubada said, "If I saw a man with my wife, I would strike him with the sword's sharp edge, not its flat side."This reached the Messenger of Allah ﷺ, who said, "You are amazed at Saad's sense of honor. By Allah, I have a stronger sense of honor than him, and Allah has a stronger sense of honor than I do. It is because of Allah's sense of honor that He has forbidden indecencies, both those that are apparent and those that are hidden. No one loves accepting excuses more than Allah, and for this reason He sent the bearers of glad tidings and the warners. No one loves praise more than Allah, and for this reason Allah has promised Paradise."
قال سعد بن عبادة: لو رأيت رجلا مع امرأتي لضربته بالسيف غير مصفح فبلغ ذلك رسول الله ﷺ فقال: تعجبون من غيرة سعد، والله لأنا أغير منه، والله أغير مني، ومن أجل غيرة الله حرم الفواحش ما ظهر منها وما بطن، ولا أحد أحب إليه العذر من الله، ومن أجل ذلك بعث المبشرين والمنذرين، ولا أحد أحب إليه المدحة من الله، ومن أجل ذلك وعد الله الجنة.
Bukhari narrated it in the Book of Monotheism (7416), and Muslim in the Book of Lian (1499), both from the hadith of Abu Awana, from Abdul-Malik bin Umayr, from Warrad, the scribe of Mughira, from Mughira, who related the hadith. The wording given here is Bukhari's, and Muslim's wording is similar except that it has, "For that reason Allah sent the messengers as bearers of good news and warners."