A gift is not given on Shabbat as a sale would be, but ownership can be arranged before Shabbat, and a gift for a mitzvah is permitted. The Chatam Sofer, zt"l, allows an honor to a rav when the gathering is larger. From the booklet of Rabbi David Shalom Naki, shlit"a.