The Messenger of Allah ﷺ said, "When a man wakes his wife at night and they pray together, or each prays two units of prayer, they are recorded among the men and women who remember Allah often."
قال رسول الله ﷺ: إذا أيقظ الرجل أهله من الليل، فصليا أو صلى ركعتين جميعا كتبا في الذاكرين والذاكرات.
Abu Dawud (1309) and Ibn Majah (1335) both narrated it through the route of Shayban, from Amash, from Ali bin Aqmar, from Aghar, from Abu Saeed and Abu Hurairah, and they mentioned the hadith. Its chain of narration is sahih. Aghar is Abu Muslim Madini, one of the narrators found in Sahih Muslim, and Shayban is Ibn Abdul-Rahman Tamimi, their client, Abu Muawiya Basri, one of the narrators found among the group (of hadith collectors).As for His saying, "and the good end is for righteousness" [TaHa 20:132], it means that a good outcome in this world and the hereafter belongs to whoever among the Muslims fears Allah the Exalted.