Answered by Shaykh Faraz Rabbani
It is my understanding that in Hanafi school photos are not allowed where Salat is being performed. I’ve seen at times that people often pray with their work badges on, where their photos are visible. What one should do in this case? Does prayer needs to be repeated in this case?

Such badges would not fit the definition of impermissible pictures, nor of those pictures that are disliked in prayer.
Please search SunniPath Answers (http://qa.sunnipath.com) for related answers.
And Allah alone gives success.