Sunan an-Nasa'i, Book 22, Hadith 37 (In-Book)

It was narrated from Ribii bin Hirash, from Hudhaifah bin Al-Yaman, that the Messenger of Allah said: "Do not anticipate the month until you see the crescent before it, or you complete the number of days. Then fast until you see the new moon, or you complete the number of days."

أَخْبَرَنَا إِسْحَاقُ بْنُ إِبْرَاهِيمَ، قَالَ أَنْبَأَنَا جَرِيرٌ، عَنْ مَنْصُورٍ، عَنْ رِبْعِيِّ بْنِ حِرَاشٍ، عَنْ حُذَيْفَةَ بْنِ الْيَمَانِ، عَنْ رَسُولِ اللَّهِ صلى الله عليه وسلم قَالَ ‏ "‏ لاَ تَقَدَّمُوا الشَّهْرَ حَتَّى تَرَوُا الْهِلاَلَ قَبْلَهُ أَوْ تُكْمِلُوا الْعِدَّةَ ثُمَّ صُومُوا حَتَّى تَرَوُا الْهِلاَلَ أَوْ تُكْمِلُوا الْعِدَّةَ قَبْلَهُ ‏" ‏ ‏.‏

sunnah.com