Would this be legal...

Take a look at this and see if he qualifies for the "Excluding the Gain"

http://www.irs.gov/publications/p523/index.html