The friend who has referred first takes precedence. It is first come first served so start referring immediately to reach your friends before others reach them