It is narrated from Sayyiduna Anas bin Malik (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "Whoever leaves his true patrons and takes someone else as his wali or patron, upon him is the curse of Allah and His wrath; neither any voluntary act of worship (or repentance) nor any obligatory deed (or ransom) will be accepted from him (on the Day of Resurrection)."
Hadith Takhrij«عبد الرحمن بن إسحاق المدني: صدوق (من الحفظ)؛ عبد الله بن مسلم أخو الزهري ثقة (من الحفظ)» «أخرجه مجمع الزوائد ومنبع الفوائد برقم: 10715، 10716»