You seem to be referring to the Pacific Railroad Act. But that created the Union Pacific and the Central Pacific, not the Illinois Central.
Now, the Illinois Central was a land grant railroad, but it received the land grants in 1850, under President Fillmore, not under Lincoln.