حَدَّثَنَا مُحَمَّدُ بْنُ رُمْحٍ، أَنْبَأَنَا اللَّيْثُ بْنُ سَعْدٍ، عَنْ يَحْيَى بْنِ سَعِيدٍ، عَنْ مُحَمَّدِ بْنِ يَحْيَى بْنِ حَبَّانَ، عَنْ لُؤْلُؤَةَ، عَنْ أَبِي صِرْمَةَ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ مَنْ ضَارَّ أَضَرَّ اللَّهُ بِهِ وَمَنْ شَاقَّ شَقَّ اللَّهُ عَلَيْهِ "
It was narrated from Abu Sirmah that the Messenger of Allah (ﷺ) said:
"Whoever harms others, Allah (SWT) will harm him; and whoever causes hardship to other Allah will cause hardship to him."
Reference: Sunan Ibn Majah 2342
In-book : Book 13, Hadith 35
English translation : Vol. 3, Book 13, Hadith 2342