The Constitution. It says a president and a VP from the same state can’t be elected to those offices at the same time.
That is not quite right. Here are several sources
Can the president and the vice president be from the same state?
Snopes.com
Answers.com