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.
كَانَ نَبِيُّ اللَّهِ ﷺ يُحَدِّثُنَا عَنْ بَنِي إِسْرَائِيلَ حَتَّى يُصْبِحَ مَا يَقُومُ إِلاَّ إِلَى عُظْمِ صَلاَةٍ