I find this confusing because you seem to imply that having an income makes you ineligible for social security retirement benefits. But as long as you are 65, you're eligible without income caps. There's no requirement that you're not working.
Social security disability checks do require that you're not working. Is that what you're talking about?