White plays and wins in 3 moves https://lichess.org/CwElid6b
- e8=Q Ra7 2. Qf8+ Rf7 3. Qh6#

The analysis board does checkmate in 5 moves
- e8=Q Rf7 2. Qh8+ Rg7 3. Qf8+ Kg6 4. Rg5+ Kh7 5. Qxg7#
Source:

This publication is in my collection "500 chess puzzles. Mate in 5. Advanced & Expert Level."