Remove AppleID from sold iPhone?

I sold my old iPhone 4, and the buyer says that he can't activate it, gets a message that it's still linked to an existing AppleID. But when I log into my account at appleid.apple.com, it doesn't show this old device as being linked. How can I remove it?
Welcome to iMore! You'll need to use iCloud.com > Find My iPhone to remove your old device. More info here: https://support.apple.com/kb/ph2702?locale=en_US

Original thread: https://forums.imore.com/threads/remove-appleid-from-sold-iphone.382465/