Jami` at-Tirmidhi, Book 48, Hadith 44 (In-Book) ⓘ
Zaid bin Thabit (ra) said: “We were ordered to say the Tasbīḥ at the end of every Salat thirty-three times, and to say the Takbīr thirty-four times.” He said: “Then a man from the Ansar had a dream in which someone said: ‘The Messenger of Allah ordered you to say the Tasbīḥ at the end of every Salat thirty-three times, and to say the Taḥmīd thirty-three times, and to say the Takbīr thirty-four times?’ He said: ‘Yes.’ He said: ‘Then make them twenty-five and add the Tahlīl (saying Lā ilāha illallāh) to them.’ The next day he went to the Prophet and informed him, so he said: “Do it.”
حَدَّثَنَا يَحْيَى بْنُ خَلَفٍ، حَدَّثَنَا ابْنُ أَبِي عَدِيٍّ، عَنْ هِشَامِ بْنِ حَسَّانَ، عَنْ مُحَمَّدِ بْنِ سِيرِينَ، عَنْ كَثِيرِ بْنِ أَفْلَحَ، عَنْ زَيْدِ بْنِ ثَابِتٍ، رضى الله عنه قَالَ أُمِرْنَا أَنْ نُسَبِّحَ دُبُرَ كُلِّ صَلاَةٍ ثَلاَثًا وَثَلاَثِينَ وَنَحْمَدَهُ ثَلاَثًا وَثَلاَثِينَ وَنُكَبِّرَهُ أَرْبَعًا وَثَلاَثِينَ . قَالَ فَرَأَى رَجُلٌ مِنَ الأَنْصَارِ فِي الْمَنَامِ فَقَالَ أَمَرَكُمْ رَسُولُ اللَّهِ صلى الله عليه وسلم أَنْ تُسَبِّحُوا فِي دُبُرِ كُلِّ صَلاَةٍ ثَلاَثًا وَثَلاَثِينَ وَتَحْمَدُوا اللَّهَ ثَلاَثًا وَثَلاَثِينَ وَتُكَبِّرُوا أَرْبَعًا وَثَلاَثِينَ قَالَ نَعَمْ . قَالَ فَاجْعَلُوا خَمْسًا وَعِشْرِينَ وَاجْعَلُوا التَّهْلِيلَ مَعَهُنَّ فَغَدَا عَلَى النَّبِيِّ صلى الله عليه وسلم فَحَدَّثَهُ فَقَالَ " افْعَلُوا " . قَالَ أَبُو عِيسَى هَذَا حَدِيثٌ صَحِيحٌ .
also referenced under: Hadith 3413 (Reference) & Volume 6, Book 45, Hadith 3413 (DarusSalam)