Sahih Muslim
The Book of Prayers (Kitab Al-Salat)
Book Number: 004 / Hadith Number: 1398
Abu Huraira reported the Messenger of Allah (may peace be upon him) as saying: Everyone among you is constantly in prayer so long as the prayer detains him (for this noble objective) and nothing prevents him to return to his family but the prayer.