If after performing my namaz maghrib , I saw that we can see me through the window glass. But the glass, was not in front of me but on the side. My namaz magrib still valid? I just covered the glass and continue with Isha

Your prayer is valid