Original sentence: Shiite scholars along with Sunni ones such as Tabari, Al-Suyutiand Razi recorded  that one day when Ali was performing the ritual prayers in the mosque , a beggar began to ask for alms.Then Muhammad observed this, and a passage of the Quran was sent down upon him (5:55), According to Shiite in this verse "obedience is absolute and conjoined with obedience to God and his messenger", so the person identified as Wali must be infallible
Edited sentence: Sunni and Shiite scholars recorded that one day when Ali was performing the ritual prayers in the mosque , a beggar began to ask for alms.Then Muhammad observed this, and a passage of the Quran was sent down upon him (5:55), It is said that since, in this verse "obedience is absolute and conjoined with obedience to God and his messenger", so the person identified as Wali must be infallible