Maybe you're just thinking of another Zelda game, then? That sounds vaguely familiar, but I know that wasn't the case in Ocarina. In Ocarina the four bottles were at Lon Lon Ranch, Kakariko Village, Lake Hylia, and the last was a reward for Gold Poe hunting.
Edit: Ah, found it, thank you Google. Looks like fishing to get a bottle was in Twilight Princess, and the Switch remake of Link's Awakening.