It is narrated from Sayyiduna Abdullah bin Umar (may Allah be pleased with them both) that the Messenger of Allah (peace and blessings be upon him) set out on a military expedition and said: "Let no one who has harmed his neighbour accompany us today." A man among the people said: "I urinated at the foot of my neighbour's wall (is that harm too)?" He (peace and blessings be upon him) said: "You too should not accompany us today."
Hadith Referenceالمعجم الأوسط / باب الياء / 9479
Hadith Gradingمحدثین:إسناده ضعيف لضعف يحيى بن عبد الحميد الحماني
Hadith Takhrij«قال الهيثمي: وفيه يحيى بن عبد الحميد الحماني وهو ضعيف «مجمع الزوائد ومنبع الفوائد، ج 8، ص 170»»