Selling smartphone under installment contract?

Are these true?

1) You cannot sell your smartphone which you purchased on installment from any  telecommunications company before the end of your installment contract?

2) If you try to sell your smartphone to a phone shop they will not buy it because you purchased it in installment from a telecommunications company(stc,zain,batelco)?

Correct