On a side note :
You'll need to remove the activation lock set by Apple so the iPhone accepts another SIM card and the new owner can input their own Apple ID to be able to use some of the iPhone's features.
Apple Link ->
http://support.apple.com/kb/ph13695Settings -> General -> Reset -> Erase all Content and Settings.