It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "This Ummah will act according to the Book of Allah for a period, then for a time it will act according to the Sunnah of the Messenger of Allah (peace and blessings be upon him), then it will begin to act on (analogy and) opinion; and when they act on their opinion, they will go astray themselves and lead others astray." Imam Abu Ya'la, Imam Ibn Hibban in his Sahih, Imam al-Hakim and Imam al-Bayhaqi recorded it.