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