Yes, and it’s optional. When a pawn moves two squares and lands beside your pawn, you can capture it as if it had moved one. You can only do it on your very next move1.
Why people argue about it
Many players never learned it, so the first time it happens it looks like cheating. Search results are full of explainers for people who think it’s made up2,3.
Before your first en passant against someone who's never seen it, show them the rule. They can then take back their two-square pawn move before you capture.
Instead of
En passant needs no warning, and the pawn move stands.
The first en passant at a casual board can sour the mood fast, so raise it before the opening move. Does everyone know the rule, and how strict is the timing? Late pass lets a player who missed the chance still take it on the following move. Teach before you take shows the rule to a newcomer first and lets them undo the two-square pawn move. We’d play Teach before you take whenever someone new sits down, and the full rule otherwise.
Play it a different way? Post it so others can vote on it.