A man saw in a dream that it was said to him: "What does your Prophet ﷺ command you to do?" He said: "He commanded us to say Tasbih thirty-three times following the prayer, and to say the tahmid thirty-three times, and to say the takbir thirty-four times, and that makes one-hundred." He said: Say the tasbih twenty-five times and say the tahmid twenty-five times and say the takbir twenty-five times and say the tahlil twenty-five times, and that will make one hundred." The following morning he told the Prophet ﷺ about that and the Messenger of Allah ﷺ said: "Do what the Ansari said."
أَنَّ رَجُلاً رَأَى فِيمَا يَرَى النَّائِمُ قِيلَ لَهُ بِأَىِّ شَىْءٍ أَمَرَكُمْ نَبِيُّكُمْ ﷺ قَالَ أَمَرَنَا أَنْ نُسَبِّحَ ثَلاَثًا وَثَلاَثِينَ وَنَحْمَدَ ثَلاَثًا وَثَلاَثِينَ وَنُكَبِّرَ أَرْبَعًا وَثَلاَثِينَ فَتِلْكَ مِائَةٌ قَالَ سَبِّحُوا خَمْسًا وَعِشْرِينَ وَاحْمَدُوا خَمْسًا وَعِشْرِينَ وَكَبِّرُوا خَمْسًا وَعِشْرِينَ وَهَلِّلُوا خَمْسًا وَعِشْرِينَ فَتِلْكَ مِائَةٌ فَلَمَّا أَصْبَحَ ذَكَرَ ذَلِكَ لِلنَّبِيِّ ﷺ فَقَالَ رَسُولُ اللَّهِ ﷺ افْعَلُوا كَمَا قَالَ الأَنْصَارِيُّ