Each of the four takbîrs of the salât of janâza is like a rak’at. The hands are lifted up to the ears only with the first takbîr. They are not lifted with the next three takbîrs.
1- After saying the first takbîr, the left hand is clasped at the wrist by the right hand, the Subhânaka is recited, and the words, “Wa jalla thenâuka” are added in the recitation. The Sûrat-al Fâtiha is not recited.
2- After the second takbîr the Salawât is recited exactly as it is recited during the tashahhud (sitting posture in the daily prayers of salât), that is the prayers (Allahumma salli) and (Bârik).
3- After the third takbîr the du’â of janâza is recited. [Instead of the du'â of janâza, it is also permissible to say “Rabbanâ âtina...” or only “Allahummaghfirleh” or to say the sûra of Fâtiha.]
4- Immediately following the fourth takbîr, the salâm is performed (by turning the head) first to the right and then to the left. While performing the salâm, an intention must be made that the salam be for the dead person and the jamâ’at.
The imâm says the four takbîrs and the two salâms audibly, he must say the other things being recited in a nearly inaudibly soft whisper.
It is not permissible to pray beside the coffin after the salât of janâza is performed. It is makrûh.