Retirement tax questions

My wife inherited her mothers home which was sold and she received a 1099-S.  We were told by her brother and sisters that form 4797 was used to report this transaction without tax issues. I need to amend our return.