The Prophet ﷺ said: If anyone harms (others), Allah will harm him, and if anyone shows hostility to others, Allah will show hostility to him.
عَنْ أَبِي صِرْمَةَ صَاحِبِ النَّبِيِّ ﷺ عَنِ النَّبِيِّ ﷺ أَنَّهُ قَالَ مَنْ ضَارَّ أَضَرَّ اللَّهُ بِهِ وَمَنْ شَاقَّ شَاقَّ اللَّهُ عَلَيْهِ