The fatḥah in «رَأَيْتُ أَحْمَدَ» and «مَرَرْتُ بِأَحْمَدَ» marks the same case.

Restoring Declension: Indefinite Names, Al- and Iḍāfah