Jami` at-Tirmidhi, Volume 4, Book 35, Hadith 2454 (DarusSalam) ⓘ
'Abdullah bin Mas'ud narrated "The Messenger of Allah (s.a.w) drew a square line (on the ground) forus, and in the middle of the (square) line he drew another line, and he drew another line going out of the (square) line.Around the one that was in the middle, he drew (various) lines. Then he said: 'This is the son of Adam, and this is his life-span encircling him, and this one in the middle in the person, and these lines are his obstacles, if he escapes this one, this one ensnares him, and the line extending outside is his hope.'"
حَدَّثَنَا مُحَمَّدُ بْنُ بَشَّارٍ، حَدَّثَنَا يَحْيَى بْنُ سَعِيدٍ، حَدَّثَنَا سُفْيَانُ، عَنْ أَبِيهِ، عَنْ أَبِي يَعْلَى، عَنِ الرَّبِيعِ بْنِ خُثَيْمٍ، عَنْ عَبْدِ اللَّهِ بْنِ مَسْعُودٍ، قَالَ خَطَّ لَنَا رَسُولُ اللَّهِ صلى الله عليه وسلم خَطًّا مُرَبَّعًا وَخَطَّ فِي وَسَطِ الْخَطِّ خَطًّا وَخَطَّ خَارِجًا مِنَ الْخَطِّ خَطًّا وَحَوْلَ الَّذِي فِي الْوَسَطِ خُطُوطًا فَقَالَ " هَذَا ابْنُ آدَمَ وَهَذَا أَجَلُهُ مُحِيطٌ بِهِ وَهَذَا الَّذِي فِي الْوَسَطِ الإِنْسَانُ وَهَذِهِ الْخُطُوطُ عُرُوضُهُ إِنْ نَجَا مِنْ هَذَا يَنْهَشُهُ هَذَا وَالْخَطُّ الْخَارِجُ الأَمَلُ " . هَذَا حَدِيثٌ صَحِيحٌ .
also referenced under: Hadith 2454 (Reference) & Book 37, Hadith 2642 (In-Book)