It's Lenin who's reported to have said this. I found this quote from a Ph.D. thesis -
"At first, the Socialists were[...] in favour of affiliation to the Comintern. Before committing themselves finally they dispatched Fernando de los Rios to Russia as a rapporteur. 'But where is liberty?' asked that bearded individualist from Andalusia. 'Liberty,' replied Lenin, 'what for?'" Subsequently in a vote of 8,809 to 6,025 "the Socialist party pronounced themselves against the Russian connexion." (See Thomas, The Spanish Civil War, pp. 46, 103-104)
I. Slater, “Orwell and the road to servitude,” T, University of British Columbia, 1977., p. 201 (DOI)
I haven't consulted the book myself, but it may be where I read it originally. I've also seen it in the form 'La Liberté? Pour quoi faire?'
It's from a conversation between Lenin and Fernando de los Ríos, who visited Moscow in 1921. The Spanish socialist party, PSOE, had sent de los Ríos to Moscow to discuss PSOE's proposed membership of the Third International.
Whether he really said it I don't know, but it certainly does reflect a real divide between Bolshevism on the one hand, and social democrats and anarchists on the other corner. On most things, anarchists are closer to the Bolsheviks, but this is the irreconcilable difference. De los Ríos and the PSOE ended up on the social democrat side of this divide.
In other words, definitely not an 'internet quote' - if it was made up, it was made up in the 1970s or earlier.