Welcome to the forums. Your friend would have to change his google password. After that I think it takes up to 72 hours before you can attempt to put in his google account.
There's a 24 hour waiting period after a password reset to use that account to sign in to a phone.
For the OP - I'd suggest that once that's done that you properly remove his account and create your own to use with the phone, then you don't have to worry about this kind of thing.