504. Sharing of compensation

(a) Except as provided in subsection (b) of this section, a person receiving compensation or reimbursement under section 503(b)(2) or 503(b)(4) of this title may not share or agree to share—
(1) any such compensation or reimbursement with another person; or
(2) any compensation or reimbursement received by another person under such sections.
(b)
(1) A member, partner, or regular associate in a professional association, corporation, or partnership may share compensation or reimbursement received under section 503(b)(2) or 503(b)(4) of this title with another member, partner, or regular associate in such association, corporation, or partnership, and may share in any compensation or reimbursement received under such sections by another member, partner, or regular associate in such association, corporation, or partnership.
(2) An attorney for a creditor that files a petition under section 303 of this title may share compensation and reimbursement received under section 503(b)(4) of this title with any other attorney contributing to the services rendered or expenses incurred by such creditor’s attorney.
(c) This section shall not apply with respect to sharing, or agreeing to share, compensation with a bona fide public service attorney referral program that operates in accordance with non-Federal law regulating attorney referral services and with rules of professional responsibility applicable to attorney acceptance of referrals.