Sahih Muslim
The Book of Prayers (Kitab Al-Salat)
Book Number: 004 / Hadith Number: 846
This hadith is transmitted by Sahl b. Sa'd in the same way as narrated by Malik, with the exception of these words:" Abu Bakr lifted his hands and praised Allah and retraced his (steps) till he stood in a row."