It is narrated from Hazrat Abdullah bin Amr (may Allah be pleased with him) that the Prophet (peace and blessings be upon him) used to relate to us incidents of Bani Israel until morning (and sometimes he would not even get up in between), he would only get up for the obligatory prayer.