Sayyida Aisha Siddiqa (may Allah be pleased with her) narrates: The Prophet Muhammad (peace be upon him) used to offer thirteen (13) rak‘ahs at night, out of which five rak‘ahs were witr. He would not sit between these five rak‘ahs, but only at the end of them. Then he would sit and recite (the tashahhud), and then say the salam.