Anas ibn Malik reported that the Prophet, may Allah bless him andgrant him peace, said, "If the Final Hour comes while you have a palm-cuttingin your hands and it is possible to plant it before the Hour comes, youshould plant it."
English reference: Book 27, Hadith 479
Arabic reference: Book 1, Hadith 479