Sayyiduna al-Ash'ath bin Qays (may Allah be pleased with him) said: "I was a guest of Sayyiduna Umar (may Allah be pleased with him), and he took hold of his wife and struck her. Then he said: 'O Ash'ath, memorise three things from me which I memorised from the Messenger of Allah (peace and blessings be upon him): A man will not be questioned about why he struck his wife; and never sleep without having prayed witr.' And I forgot the third."
Abd bin Humayd (may Allah have mercy on him) narrated it in his "Musnad" from Yahya bin Abd al-Hamid, from Abu Awanah (may Allah have mercy on him).
Ibn Majah (may Allah have mercy on him) narrated it from Muhammad bin Yahya and al-Hasan bin Mudrik al-Tahhan, from Yahya bin Hammad; and from Muhammad bin Khalid bin Khidash, from Abd al-Rahman bin Mahdi (may Allah have mercy on him).
And Imam al-Nasa'i (may Allah have mercy on him) narrated it from Ishaq bin Mansur and Amr bin Ali, both of them from Abd al-Rahman bin Mahdi (may Allah have mercy on him), and all of them from Abu Awanah (may Allah have mercy on him), with the like of it.
Related hadith on this topic