It's an underpromotion problem, with promotion to a knight on d8 with check by 1.d8(N)+ to avoid checkmate by the black queen on the ensuing move on the "h" file. All ensuing blackwhite moves must be with check for the same reason. If 1..., Kc8 then 2. Ra8# is mate, so the king must go to b8 with 1..., Kb8 after which White can follow up with 2. Nc6+ Kb7 (or 2..., Kc8 3. Ra8+ Kb7 4. Rb8#) 3. Ra7+ Kc8 4. Ra8+ Kb7 5. Rb8#.