The importance of thinking in Islam and consulting before making any decisions is emphasized and recommended by Imam Ali (AS).