<Comment deleted by user>
Oh damn... I'm really sorry about that, it's the first time I ever hear of that rule
@AlexPresso There are even chess puzzles here on LiChess where you can practice capturing pawns en passant.
Here's one: lichess.org/training/04Mtz and here's another: lichess.org/training/0yXmS
You might find these useful.