In the book “Nahj al- Balaghaâ€, Amir al-Mu’minin [Imam Ali (pbuh)] stated:
[At the end of the period] in which people get guidance on their own desires, the Promised Savior will arise. Then, he will guide all their desires and passions according to The Inspiration [Qur’an].
[Yet], he will reinstate all thoughts and theories to Qur’an.
It will be when, they are interpreting the things on their own and imposing their theories on Qur’an.