'〜によると・〜によれば': Attributing Sources ('According to...')
[Noun (Source)] + によると/によれば (Quoting external sources of information)
'〜によると' (or '〜によれば') specifies the authoritative source from which facts, news, rumors, or forecasts were obtained ('according to...', 'based on...'). The sentence ending must correlate with a hearsay or conjecture expression like '〜そうだ', '〜ということだ', or '〜らしい'.
⚠ Note: Must end with hearsay: The predicate must never end in an absolute assertion or personal command. It must be paired with '〜そうだ', '〜ということだ', or '〜らしい'.
ニュースによると、東京で大きな地震があったそうだ。
According to the news, there was reportedly a major earthquake in Tokyo.
友人の話によれば、あのレストランはとてもおいしいらしい。
According to what my friend says, that restaurant is apparently very delicious.