Hadith 5210

وَعَنِ ابْنِ عُمَرَ أَنَّ النَّبِيَّ صَلَّى اللَّهُ عَلَيْهِ وَسَلَّمَ قَالَ: «اتَّقُوا الْحَرَامَ فِي الْبُنْيَانِ فَإِنَّهُ أَسَاسُ الْخَرَابِ» . رَوَاهُمَا الْبَيْهَقِيُّ فِي «شُعَبِ الْإِيمَان»
It is narrated from Ibn Umar (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Beware of (committing) the unlawful in matters of construction, for it is the foundation of ruin." Both narrations have been reported by Imam Bayhaqi in Shu'ab al-Iman. Its chain of narration is weak. Narrated by al-Bayhaqi in Shu'ab al-Iman.
Hadith Reference مشكوة المصابيح / كتاب الرقاق / 5210
Hadith Grading الألبانی: لم تتمّ دراسته  |  زبیر علی زئی: إسناده ضعيف
Hadith Takhrij ´تحقيق و تخريج: محدث العصر حافظ زبير على زئي رحمه الله` «إسناده ضعيف، رواه البيھقي في شعب الإيمان (10722، نسخة محققة: 10237)
٭ فيه معاوية بن يحيي الصدفي ضعيف و علل أخري .»