Caution: Translations of Quran and Ḥadīth may lead to possible misapplications and misinterpretations. This site is intended for students of sacred knowledge that are proficient in comprehending classical Arabic and have a strong foundation in Islamic sciences. Also note that religious injunctions rely on several aspects beyond what one may glean through reading individual aḥādīth.
abudawud:5153al-Rabīʿ b. Nāfiʿ Abū Tawbah > Sulaymān b. Ḥayyān > Muḥammad b. ʿAjlān from his father > Abū Hurayrah

A man came to the prophet (May peace be upon him) complaining against his neighbor. He said: go and have patience. He again came to him twice or thrice. He then said : Go and throw your property in the way. So he threw his property in the way and the people began to ask him and he would tell them about him. The people then began to curse him; may Allah do with him so and so! Then his neighbor came to him and said: Return, you will not see from me anything which you dislike.  

أبو داود:٥١٥٣حَدَّثَنَا الرَّبِيعُ بْنُ نَافِعٍ أَبُو تَوْبَةَ حَدَّثَنَا سُلَيْمَانُ بْنُ حَيَّانَ عَنْ مُحَمَّدِ بْنِ عَجْلاَنَ عَنْ أَبِيهِ عَنْ أَبِي هُرَيْرَةَ قَالَ

جَاءَ رَجُلٌ إِلَى النَّبِيِّ ﷺ يَشْكُو جَارَهُ فَقَالَ اذْهَبْ فَاصْبِرْ فَأَتَاهُ مَرَّتَيْنِ أَوْ ثَلاَثًا فَقَالَ اذْهَبْ فَاطْرَحْ مَتَاعَكَ فِي الطَّرِيقِ فَطَرَحَ مَتَاعَهُ فِي الطَّرِيقِ فَجَعَلَ النَّاسُ يَسْأَلُونَهُ فَيُخْبِرُهُمْ خَبَرَهُ فَجَعَلَ النَّاسُ يَلْعَنُونَهُ فَعَلَ اللَّهُ بِهِ وَفَعَلَ وَفَعَلَ فَجَاءَ إِلَيْهِ جَارُهُ فَقَالَ لَهُ ارْجِعْ لاَ تَرَى مِنِّي شَيْئًا تَكْرَهُهُ