fellowship funded by out of state university

My son received a  fellowship from his undergraduate institution in Minnesota to do post-bac research at a university in Massachusetts. His paychecks will come from Minnesota, but the work will be done in Massachusetts. He's a Missouri resident. To which state does he pay state income taxes? Thanks in advance for any advice.