The correct sentence is:
2. It is said that good friends are there for you in difficult times.
Here's why:
"It is said" is a common way to introduce a statement that is generally believed or accepted as true. It's a passive construction, meaning the subject of the sentence ("people") is not the focus.
"People say" would imply that there is a specific group of people saying this, which might not be the intended meaning.
"People are said" is grammatically incorrect in this context.
Therefore, "It is said" is the most appropriate option to convey the general belief or statement about good friends.