‘Ubadah ibn al-Samit reported: The Messenger of Allah, peace and blessings be upon him, issued a decree, “Do not cause harm or return harm.”
Source: Sunan Ibn Mājah 2340
Grade: Sahih (authentic) according to Al-Albani
عَنْ عُبَادَةَ بْنِ الصَّامِتِ أَنَّ رَسُولَ اللَّهِ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَضَى أَنْ لاَ ضَرَرَ وَلاَ ضِرَارَ
2340 سنن ابن ماجه كتاب الأحكام باب من بنى في حقه ما يضر بجاره
250 المحدث الألباني خلاصة حكم المحدث صحيح في السلسلة الصحيحة