Carl Barks would expand on this gag, including a Beagle Boy getting away with a bank robbery while Donald resolutely writes his nephew a ticket, for the cover of Donald Duck (Western, 1962 Series) #126 (July 1969). https://www.comics.org/issue/22866/
Reads like a Carl Fallberg Mickey Mouse serial script in one part. Though Fallberg is not credited for this story in Disney Masters (Fantagraphics, 2018 series) #21 - Walt Disney Mickey Mouse: The Monster of Sawtooth Mountain (2022).