If the property sold to someone who had seen the property while the contract was unexpired, then you'd have to pay the realtor: whether or she or he did a lot of work or a little, the standard realtor agreement requires payment if a buyer is found during the realtor's agency. If the buyer saw the house after the contract expired, you do not have to pay.