This question was asked in Ask An Apologist and Jim Blackburn gave this reply:
Code of Canon Law (844 §4) makes provision for this in limited circumstances:
Quote:
If the danger of death is present or if, in the judgment of the diocesan bishop or conference of bishops, some other grave necessity urges it, Catholic ministers administer [the sacraments of penance, Eucharist, and anointing of the sick] licitly also to other Christians** not having full communion with the Catholic Church, who cannot approach a minister of their own community and who seek such on their own accord, provided that they manifest Catholic faith in respect to these sacraments and are properly disposed.**
UNQUOTE
I recommend referring your friend to a local priest to discuss the details of his situation further.