No such episode exists. Their pet is Perry the Platypus (secret agent). Dogs appear occasionally, but no museum-centered dog episode is in the series.
You might be conflating shows — perhaps Phineas and Ferb with another series?