An agent can share his commission (with his broker's permission with:

1) A friend who refers a client
2) A party to the transaction (buyer or seller)
3) An appraiser or mortgage broker