فَإِذَا أَرَادَ أَنْ يَقْنُتَ كَبَّرَ، وَرَفَعَ يَدَيْهِ، ثُمَّ قَنَتَ.
Meaning: When intending to recite Qunut, he says takbir, raises his hands and then recites Qunut.
After the third-rakah recitation come takbir, hand-raising and Qunut, all before ruku.