Short answer
Community opinion can be considered where it provides useful advice, but fear of gossip should not control every marriage decision.
Islamic Guidance
What Islam teaches
Islam emphasizes accountability to Allah, justice and truth rather than living for social approval. Customs should be evaluated according to Islamic principles.
Practical Guidance
What you can consider
Ask whether a concern is genuinely about compatibility or simply about public opinion. Make important decisions based on evidence, values and responsible advice.
Sources
Qur'an 49:13; Qur'an 33:39.