A citizen of London, being in the country, and hearing a horse neigh, exclaimed, Lord! how that horse laughs! A by-stander telling him that noise was called neighing, the next morning, when the cock crowed, the citizen to shew he had not forgot what was told him, cried out, Do you hear how the cock neighs? [fiat “Cockney”]

Captain Grose, Dictionary of the Vulgar Tongue
https://coldewey.cc/2013/09/a-citizen-of-london-being-in-the-country-and/ ยป