The hands are placed on the thighs and the fingers extended. The pointing gesture of the index finger during the testimony is a separate detail.
A report from Ibn ‘Umar describes the Prophet pointing with his index finger. Hanafi sources also transmit and discuss the gesture and its precise manner, alongside some differing earlier formulations.