It was narrated that Zaid bin Thabit said: "They were commanded to say the tasbih thirty-three times following the prayer, and to say the tahmid thirty-three times, and to say the takbir thirty-four times, then a man from among the Ansar was told in a dream: “Did the Messenger of Allah (ﷺ) command you to say the tasbih thirty-three times following the prayer, and to say the tahmid thirty-three times, and to say the takbir thirty-four times?' He said: “Yes.' 'Instead of that, say each one twenty-five times, and include the tahlil among them.' The next morning he came to the Messenger of Allah (ﷺ) and told him about that, and he said: “Do that”””"
SahihSahihHasanBook 13 · Hadith 172