Raking the hay and catching the rabbit - with no extra trouble
Since rabbits usually hide themselves in thick grass or hay, when one is raking hay, he may easily catch a rabbit.
This expression means while doing something, one can conveniently accomplish something else without extra effort.