It is narrated from Sayyiduna Abu Hurayrah (may Allah be pleased with him) that the Messenger of Allah (peace and blessings be upon him) said: "One of you remains in prayer for as long as the prayer holds him back from returning to his home."
Hadith Referenceالسنن الكبرى للبيهقي / كتاب الصلاة / 4985