The Messenger of Allah ﷺ said, "Whoever causes harm, Allah will harm him, and whoever causes hardship, Allah will bring hardship upon him."
حدثنا محمد بن رمح أنبأنا الليث بن سعد عن يحيى بن سعيد عن محمد بن يحيى بن حبان عن لؤلؤة
عن رسول الله ﷺ قال من ضار أضر الله به ومن شاق شق الله عليه
[Its chain is daif] Abu Dawud narrated it in the Book of Judgments, Chapter on Judgment, no. 3635, from the hadith of Layth, with this wording, and Tirmidhi graded it hasan, no. 1940.Luluah, the freedwoman of the Ansar, was deemed reliable by Tirmidhi and by Haythami in Majma, 10/178, and her hadith has many corroborating witnesses.