The NASA/IPAC Extragalactic Database (NED for short), found at https://ned.ipac.caltech.edu/, contains both redshift data and redshift-independent distance data from roughly 146,000 objects. Note that this is a relatively strict selection criterion, and the full database is much bigger; there are 667 million distinct objects, and 7.9 million objects with redshifts. This also assumes that every object that has a redshift-independent distance measurement also has a redshift measurement; given that redshifts are relatively simple to measure in most cases (except for special cases like blazars where the spectrum is featureless), this should be accurate as an order-of-magnitude estimate of the number of objects in the database that satisfy your conditions.
Generally, when performing this analysis, there are going to be a lot of potential confounding factors. One of them is something I've already hinted at: if you want to meaningfully compare redshift and distance, then you need to use distance measurements that are independent of the redshift measurements. The other thing to watch out for, especially with the strict selection criteria, is introducing selection bias into your results. The population of galaxies which have both redshift measurements and redshift-independent distance measurements might look very different than the total population of galaxies, which could influence the results you get.