Sahih Muslim Book 004, Hadith Number 1091.
Chapter : The virtue of building the mosques and exhortation to it.
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.