[Machine] "O Messenger of Allah, what do you think if a man finds his wife with another man, what should he do?" So, the verse of cursing was revealed regarding this matter. The Messenger of Allah ﷺ said, "Allah has already decreed upon you and upon your wife." He said, "Then we cursed each other in the mosque while I was a witness." And he mentioned the hadith.
يَا رَسُولَ اللهِ أَرَأَيْتَ إِنْ وَجَدَ رَجُلٌ مَعَ امْرَأَتِهِ رَجُلًا مَا يَفْعَلُ بِهِ؟ فَنَزَلَتْ فِيهِ آيَةُ اللِّعَانِ فَقَالَ رَسُولُ اللهِ ﷺ قَضَى اللهُ فِيكَ وَفِي امْرَأَتِكَ قَالَ فَتَلَاعَنَا فِي الْمَسْجِدِ وَأَنَا شَاهِدٌ وَذَكَرَ الْحَدِيثَ