The Rules pertaining to the Wajibat of Salat
Niyyat
Therefore, the Salat must only be performed for obeying the orders of Allah (SWT), and if the complete Salat or even a part of the Salat is performed to show off, then it is void.
Takbiratul Ihram
Qiyam