Why is there kasrah on Aḥmad in «مَرَرْتُ بِأَحْمَدِكُمْ»?

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