Technically, Jesus doesn't say that the prodigal son spent his money on prostitutes. Jesus said that he spent the money on "loose living" or some similar term depending on your translation. The older brother jumped to the conclusion of prostitutes in his anger and desire to put his brother in the worst possible light. Plenty of people live foolishly without actually hiring prostitutes or using drugs.
Of course, we're only supposed to pay attention to the details that are actually mentioned--if something is "outside the story" it doesn't exist.