Abdullah bin Amir (may Allah be pleased with him) said: A false witness was brought to Sayyiduna Umar (may Allah be pleased with him). He made him stand before the people for a day until nightfall, saying: "This is a false witness; recognise him." Then he imprisoned him.
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20491