Ibrahim said: When a person forgets the opening takbir (takbir al-tahrimah), he should start the prayer afresh.