Asma' daughter of Yazid b. as-Sakan reported the Prophet a saying, "The dajjal will remain in the earth forty years, a year being like a month, a month like a week, a week like a day, and a day like the time it takes to burn a palm-branch."
It is transmitted in Sharh as sunna.