Al-Hasan said: The people of Islam are agreed that witr is three rak'ahs, and the salam is given only at the end of them.