What to say when raising the head from bowing Sunan Ibn Majah 877

Arabic hadith text
حَدَّثَنَا أَبُو بَكْرِ بْنُ أَبِي شَيْبَةَ، حَدَّثَنَا يَحْيَى بْنُ أَبِي بُكَيْرٍ، حَدَّثَنَا زُهَيْرُ بْنُ مُحَمَّدٍ، عَنْ عَبْدِ اللَّهِ بْنِ مُحَمَّدِ بْنِ عَقِيلٍ، عَنْ سَعِيدِ بْنِ الْمُسَيَّبِ، عَنْ أَبِي سَعِيدٍ الْخُدْرِيِّ، أَنَّهُ سَمِعَ رَسُولَ اللَّهِ ـ صلى الله عليه وسلم ـ يَقُولُ ‏"‏ إِذَا قَالَ الإِمَامُ سَمِعَ اللَّهُ لِمَنْ حَمِدَهُ ‏.‏ فَقُولُوا اللَّهُمَّ رَبَّنَا وَلَكَ الْحَمْدُ ‏"
Translation
It wasnarrated from Abu Sa’eed Al-Khudri that he heard the MessengerofAllah (ﷺ) say

“When the Imam says: ‘Sami’ Allahu limanhamidah(Allah hears those who praise Him),’ say: ‘Allahumma,Rabbana walakal-hamd (O Allah! O our Lord! To You is the praise).’”