Sayyiduna Ubadah bin al-Samit (may Allah be pleased with him) said: Among the judgements of the Messenger of Allah (peace and blessings be upon him) is that he (peace and blessings be upon him) decreed: "Do not cause harm, and do not suffer harm."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب آداب القاضي / 20443