Answer
Hugh Laurie's appearance in "Friends" was in the episode titled "The One with Ross's Wedding." This episode is the 24th episode of the fourth season and aired in May 1998. Laurie played the role of a minister who officiated Ross and Emily's wedding ceremony. His character's name was not mentioned in the episode, but he is credited as "Minister" in the show's end credits.