If a religion has already been founded, the tooltip in the "choose research" popup will not say "first to discover founds <religion>." So if you are typically behind on technology, you might never see that info. You can check the civilopedia or the science advisor to see the full information on each technology, including things that are omitted in-game if they've already happened.