The Messenger of Allah ﷺ recited it as "And We prescribed for them therein that the soul is for the soul, and the eye is for the eye" [Maidah 5:45], placing "the soul" in the accusative and "the eye" in the nominative.
حدثنا يحيى بن آدم حدثنا ابن المبارك عن يونس بن يزيد عن أبي علي بن يزيد أخي يونس بن يزيد عن الزهري
أن رسول الله ﷺ قرأها {وكتبنا عليهم فيها أن النفس بالنفس والعين بالعين} نصب النفس ورفع العين