One may not give their friend a gift before Davening.
In general one should pay attention not to schmooze before Davening. However, if necessary, one may be lenient to talk to their friend about something important after they recite Birchos Hashachar.