I'm also pretty sure that Ubuntu does not. You might be thinking of the so-called "Search Lenses", which sent your search terms from the system search to Canonical's server, then they proxied that to prominently Amazon by default, optionally to others as well, to gather product results for your search term.
Their privacy policy was perfectly straightforward that they do not store the search results or use them for anything else and it's disabled by default since Ubuntu 16.04, and is effectively unavailable from Ubuntu 17.10 onwards, as they switched to GNOME for the desktop environment, which does not support this.
Can you name one?
So, to throw about a few names: Debian, openSUSE, Trisquel, Ubuntu, Fedora, Slackware etc.
Or to put it differently, the distros of which I'm aware that they track users: Android and Red Star OS.