Amr bin Shu'ayb narrates from his father that Mu'adh, Ibn Mas'ud and Uqbah bin Amir (may Allah be pleased with them) said: "When there is doubt, avert the hadd."
It is munqati' (disconnected).
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الحدود / 17063