Abu Dawud said: This tradition has been transmitted by Muhammad b. Bakr al-Barsani from Ibn Juraij as a statement of Jabir, and Abu 'Asim has transmitted it from Ibn Juraid similar to that of Ibn Wahb. He did not mention the Prophet (ﷺ). But he said: A man committed fornication, but did not know that he was married ; so he was flogged. It was then known that he was married, so he was stoned to death.
In-book : Book 40, Hadith 88
English translation : Book 39, Hadith 4424