Elongating the Hamzah in "Allahu" (e.g., reciting Āllahu Akbar) at the beginning or middle of prayer does not invalidate it.

Invalidations of Prayer Part 3: State Transitions and Technical Breaks