Sayyed Mohammad Al-Musawi, Sayyed Mohammad al-Musawi is originally from Iraq and heads up the World Ahlul Bayt Islamic League in London. Other than being involved in various humanitarian projects, he frequently responds to... Answer updated 2 months ago

Yes, Imam Ali (AS) was always accompanying the Prophet Muhammad (SAWA) including when going to Hiraa' cave and he used to pray and worship Allah when the Prophet was worshiping Allah. Even during the revelation Ali (AS) was with the Prophet but he was not a Prophet. The Prophet told Ali: Surely, you hear what I hear and see what I say but you are not a Prophet, you are my successor  إنك تسمع ما أسمع وترى ٬ما أرى  (لكنك لست بنبي وإنما أنت 


Nahjul Balaghah, sermon 192.