What is the resolution in megapixels of the Hubble Telescope?
Just to address some of the potential confusion in the original question:
Talking about "resolution" in "megapixels" only makes sense if you're comparing different imaging chips in the same optical system: the same angular field of view, with the same angular resolution limit, imaged onto the chip. So comparing megapixels between, say, different full-frame DSLRs (or full-frame mirrorless cameras) makes sense, because if you put the same size lens on a full-frame Nikon or Canon DSLR, they image same field of view onto their chips, with similar if not identical angular resolution limits.
This comparison breaks down if you try to compare even the same camera with different lenses, because then the field of view imaged onto the chip changes. For example, I can put a wide-angle lens (large field of view) on a full-frame DSLR and take a picture of a lion at a distance. I'll get a great landscape picture, but if I zoom in on the lion in the resulting image, the lion will be blurry, with only a few pixels covering the lion. I can put long telephoto lens (small field of view) on the exact same camera, take a picture of the lion, and the lion will be very detailed and sharp, spanning lots of pixels (though I won't get the rest of the lanscape).
Many claims about megapixels in consumer and phone cameras, while technically correct, are mostly marketing blather, because there's no attempt to compare the fields of view and thus the effective angular resolution. This is why you'll be able to take much higher resolution images with a 20-megapixel DSLR than you can take with your 41-megapixel phone camera.
Another way to think about it is this: if we could put whatever chip the Lumia uses in Hubble, would we get sharper images? No. The Lumia chip has physically smaller pixels -- probably something like 1 to 1.5 microns in size, compared to the 21 micron ACS-HRC pixels. But, as Rob Jeffries points out, the HRC pixels are already small enough to resolve at Hubble's angular resolution limit. The Lumia chip wouldn't show any more detail than the HRC chip already does, it would just give you bigger blur per pixel. (There's also the fact that commercial imaging chips divide their pixels up between different filters to get R, G, and B images simultaneously, so in practice your "41 megapixel" camera only records about 13 or 14 megapixels per filter. Cameras on Hubble don't use per-pixel filters, so each single-filter image uses all the pixels.)