Two observations: (1) the Beatles wrote the Stones' first big hit, I Wanna Be Your Man; (2) Mick Jagger was a complete phony. He was raised in London,, attended the London School of Economics, and both of his parents were teachers. He totally faked a Scouse accent. There is no comparison: the Beatles wrote better songs, sang better, played their instruments better, and sold more records:
Beatles: 183 mil McCartney solo: 45 mil. Lennon solo: 29 mil. Harrison solo: 10 mil.
Total Beatles plus solo: 263 mil.
Stones: 240 mil.