The Prophet ﷺ said, "Whoever takes a handspan of land that is not rightfully his will have it hung around his neck from seven earths."
وبهذا الإسناد أن النبي ﷺ قال من أخذ شبرا من الأرض بغير حقه طوقه من سبع أرضين
Its isnad is sahih. Muslim narrated it, 3/1230, no. 1610, in "Al-Musaqah," on the prohibition of injustice.