"When the time draws near," the rest of the hadith is the same.
Sahih Muslim Book 42, Hadith 11