Sahih Muslim, Book 5, Hadith 154 (Muslim 1307)

Ibn 'Abbas said:

We used to know that Allah's Messenger (ﷺ) had finished his prayer when we heard the takbir (Allah-O-Akbar).