I got a mobile in free from my college, (a company visited the college and gave free mobiles to all students) but I sold it to my friend on market price. So is that permissible or not in Islam?
A simple answer is yes.
To explain why I said simple, we are assuming that the mobile was given with no conditions. In that case you are welcome to sell it for any price that the buyer is willing to pay.