Abd al-Rahman bin Yazid narrates: Sayyiduna Abdullah bin Mas'ud (may Allah be pleased with him) said: "Witr is three rak'ahs, like the witr of the day, that is, the Maghrib prayer."