It was narrated that Abu Hurairah said:
“The Messenger of Allah (ﷺ) forbade anticipating the fast by fasting one day before sighting (of the crescent).”