Capital Gains and Losses From Sales or Exchanges of Property section of IRS Form 1040-NR.
Form 1040-NR line 16 and 17 for reporting capital gains and losses from sales or exchanges of property, including fields for kind of property, date acquired, sales price, cost or other basis, and gain or loss calculation.