Doctor punished for praying