By Way of Canada: U.S. Records of Immigration Across the U.S.-Canadian Border, 1895-1954 (St. Albans Lists)
The National Archives explains what the St. Albans Lists are and why there probably isn't a record of your ancestor entering Buffalo from Canada before 1895.