Here’s a message I sent to an executive recruiter who friended me on LinkedIn. (It worked.)
Hi [Redacted],
I got an invite from you a couple of months ago, and so I asked if you had any opportunities for which I’d be a good fit. I never heard back, which makes me curious why you asked to connect?
It’s perfectly fine if you don’t have anything at the moment; I’m interested only in freelance or consulting opportunities.
I hope this message doesn’t come across the wrong way, and I hope to hear from you.
Thanks.