A single confession or the testimony of two upright men is sufficient for this.
➊ The Messenger of Allah ﷺ did not order the man who stole the shield to confess a second time.
[Sahih al-Bukhari: 6795, Kitab al-Hudud: Chapter on the saying of Allah the Exalted: “The thief, male and female……”]
➋ Likewise, he ﷺ did not give any such order regarding the man who stole the cloak of Safwan bin Umayyah (may Allah be pleased with him).
[Sahih: Sahih Abi Dawud: 3693, Kitab al-Hudud: Chapter on the one who steals from a protected place, Abu Dawud: 4394]
As for the narration in which it is mentioned that the Messenger of Allah ﷺ said to the thief:
ما إخالك سرقت؟
“I do not think that you stole.”
He said, “Yes, indeed.” This was repeated two or three times. Remember that this narration is da’if (weak).
[Da’if: Da’if Abi Dawud: 943, Kitab al-Hudud: Chapter on prompting in the hadd punishment, Irwa al-Ghalil: 2426, Abu Dawud: 4380]
(Malik, Shafi’i, Abu Hanifa (may Allah have mercy on them)) A single confession is sufficient.
(Ahmad, Abu Yusuf (may Allah have mercy on them)) A confession at least twice is necessary.
[Nayl al-Awtar: 587/4]
(Preferred view) The first position is the preferred one.
[Al-Rawdah al-Nadiyyah: 600/2]
Allah the Exalted says:
وَأَشْهِدُوا ذَوَيْ عَدْلٍ مِّنكُمْ [Al-Talaq: 2]
“And bring two upright persons as witnesses.”