A man came to the Prophet ﷺ complaining about his neighbor.The Prophet ﷺ said, "Go and be patient."The man came back a second and third time, so the Prophet ﷺ told him, "Go and throw your belongings out into the road."So he threw his belongings into the road, and people began asking him about it, and he told them his story. The people then started cursing the neighbor, saying, "May Allah do such and such to him," and so on.His neighbor then came to him and said, "Come back. You will never see anything from me that you dislike."
حدثنا الربيع بن نافع أبو توبة حدثنا سليمان بن حيان عن محمد بن عجلان عن أبيه
جاء رجل إلى النبي ﷺ يشكو جاره فقال اذهب فاصبر فأتاه مرتين أو ثلاثا فقال اذهب فاطرح متاعك في الطريق فطرح متاعه في الطريق فجعل الناس يسألونه فيخبرهم خبره فجعل الناس يلعنونه فعل الله به وفعل وفعل فجاء إليه جاره فقال له ارجع لا ترى مني شيئا تكرهه
[Its isnad is hasan] Bukhari narrated it in Adab al-Mufrad, no. 124, from the hadith of Muhammad bin Ajlan, through this same chain, and he explicitly stated that he heard it directly, and Hakim graded it sahih according to the conditions of Muslim, 4/165, 166.