وإنما وجب ذلك عليه لنومه عنها إلى نصف الليل.
This obligation is imposed due to his sleeping through the prayer until midnight.