From Sahih Muslim (Hadith 4136):
Abu Huraira (Allah be pleased with him) reported Allah's Messenger (may peace he upon him) as saying:One should not take a span of land without having legitimate right to it, otherwise Allah would make him wear (around his neck) seven earths on the Day of Resurrection
Reference: Muslim 4136