It was narrated from Ibn 'Umar that :
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.