where is that from?
it's not a chess rule.
It's just a simple mate in 2 problem.
It is from the password game