The Prophet ﷺ used to relate to us traditions from the children of Isra'il till morning came; he would not get up except for obligatory prayer. (Using translation from Abū Dāʾūd 3663)
كَانَ نَبِيُّ اللهِ ﷺ يُحَدِّثُنَا عَنْ بَنِي إِسْرَائِيلَ حَتَّى يُصْبِحَ لَا يَقُومُ فِيهَا إِلَّا إِلَى عُظْمِ صَلَاةٍ