[Machine] The Messenger of Allah ﷺ used to pray eleven units (rak'ahs) after the evening prayer (Isha), then in the morning, he would pray two light units (rak'ahs), and then he would lie down on his right side until the Muadhin (caller to prayer) came and called him for prayer.
كَانَ رَسُولُ اللهِ ﷺ يُصَلِّي بَعْدَ الْعِشَاءِ إِحْدَى عَشْرَةَ رَكْعَةً فَإِذَا أَصْبَحَ صَلَّى رَكْعَتَيْنِ خَفِيفَتَيْنِ ثُمَّ اضْطَجَعَ عَلَى شِقِّهِ الْأَيْمَنِ حَتَّى يَأْتِيَهُ الْمُؤَذِّنُ فَيُؤْذِنَهُبِالصَّلَاةِ