That Sa'd b. 'Ubadah said to the Messenger of Allah (ﷺ) : What do you think if I find with my wife a man ; should I give him some time until I bring four witnesses ?" He said: "Yes".
Sunan Abi Dawud Book 41, Hadith 40