Sayyiduna Jariyah bin Zafar (may Allah be pleased with him) narrated: Some people brought a dispute about a hut to the Messenger of Allah (peace and blessings be upon him), and the Messenger of Allah (peace and blessings be upon him) sent Sayyiduna Hudhayfah (may Allah be pleased with him) to judge between them. He judged in favour of the one on whose side the knots of the roof cords were. When he returned to the Prophet (peace and blessings be upon him) and informed him, he (peace and blessings be upon him) said: "You were correct," or "You did well."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 2074