But no, by your Lord, they can have no Faith, until they make you (Muhammad ﷺ ) judge in all disputes between them... (V.4:65)

Hadith Number 4585

setting

Narrated `Urwa

Az-Zubair quarrelled with a man from the Ansar because of a natural mountainous stream at Al-Harra. The Prophet (ﷺ) said "O Zubair! Irrigate (your lands and the let the water flow to your neighbor The Ansar said, "O Allah's Messenger (ﷺ) (This is because) he (Zubair) is your cousin?" At that, the Prophet's face became red (with anger) and he said "O Zubair! Irrigate (your land) and then withhold the water till it fills the land up to the walls and then let it flow to your neighbor." So the Prophet (ﷺ) enabled Az- Zubair to take his full right after the Ansari provoked his anger. The Prophet (ﷺ) had previously given a order that was in favor of both of them Az-Zubair said, "I don't think but the Verse was revealed in this connection: "But no, by your Lord, they can have no faith, until they make you judge in all disputes between them." (4.65)