It is narrated from Sayyiduna Jabir (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "When Allah intends evil for a servant, He makes building with bricks and clay attractive to him, until he builds."
Hadith Referenceالمعجم الكبير للطبراني / باب الجيم / 1742