Mother of the believers, Aisha (may Allah be pleased with her), narrates that the Messenger of Allah (peace be upon him) came to me. I said, "We have prepared hais for you." He said, "I intended to fast, but bring it near."
Hadith Referenceمسند الإمام الشافعي / كتاب الصيام / 635
Hadith Takhrijاخرجه مسلم، الصیام باب جواز صوم النافلة بنية من النهار قبل الزوال ..... الخ (1154)۔