BT Meg 26b(16) :ולחלופינהו שרי : it is permitted to barter them [i.e. bricks of a synagogue] See the entire entry for ḥlp vb. to pass by, pass away; D to change s.t.