It is narrated from Sayyiduna Sahl bin Sa'd al-Sa'idi (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) said: "Whenever any heresy (zandaqah) has arisen, denial of divine decree (qadar) has always come before it."
Hadith Referenceالمعجم الكبير للطبراني / باب السين / 5923