A close friend of mine asked me if I could pick up money for him using my ID from money gram since he had already exceeded the receiving limit this month. The amount was 500 euros. I just wanted to know if it was safe to do this.
Don't pick up the money. It doesn't matter how much it's for, but the general rule is: if it feels like you shouldn't be doing it... then you shouldn't.
Whilst it might not be a scam, it's likely very illegal. Refer to this post for more information - especially Ben Miller's post, and 0xfee1dead's comment underneath.
Honestly, I know friends are important... but you're being asked to unknowingly do something, like launder money. You could get in to serious trouble for this, and no amount of naivety will save you.