Sahih Muslim #535 c
The Book of Mosques and Places of Prayer 5:36
Ibn Sa'd reported:
I bowed and my hands were in this state, i. e. they were put together, palm to palm, and were placed between his thighs. My father said: We used to do like this but were later on commanded to place them on the knees.