كتاب صلاة المسافرين وقصرها
6  
The Book of Prayer - Travellers
(27)
Chapter: It is recommended to recite for a long time in the night prayers
(27)
باب اسْتِحْبَابِ تَطْوِيلِ الْقِرَاءَةِ فِي صَلاَةِ اللَّيْلِ ‏‏
Sahih Muslim 773 a

'Abdullah reported:

I prayed with the Messenger of Allah (ﷺ) and he lengthened it till I entertained an evil thought. It was said to him what that thought was. He said: I thought that I should sit down and forsake him.
وَحَدَّثَنَا عُثْمَانُ بْنُ أَبِي شَيْبَةَ، وَإِسْحَاقُ بْنُ إِبْرَاهِيمَ، كِلاَهُمَا عَنْ جَرِيرٍ، - قَالَ عُثْمَانُ حَدَّثَنَا جَرِيرٌ، - عَنِ الأَعْمَشِ، عَنْ أَبِي وَائِلٍ، قَالَ قَالَ عَبْدُ اللَّهِ صَلَّيْتُ مَعَ رَسُولِ اللَّهِ صلى الله عليه وسلم فَأَطَالَ حَتَّى هَمَمْتُ بِأَمْرِ سَوْءٍ قَالَ قِيلَ وَمَا هَمَمْتَ بِهِ قَالَ هَمَمْتُ أَنْ أَجْلِسَ وَأَدَعَهُ ‏.‏
Reference : Sahih Muslim 773a
In-book reference : Book 6, Hadith 243
USC-MSA web (English) reference : Book 4, Hadith 1698
  (deprecated numbering scheme)