This hadith has been transmitted on the authority of Abu Huraira and the words are
"When the time draws near," the rest of the hadith is the same.