Husk, 4(削除) 4 (削除ここまで) 3 bytes
Edit: -1 byte thanks to Leo
ḟṗ↓Nḟṗ→
ḟ # first element that
ṗ # is a prime, among
↓N→ # allcounting integers,up afterbeginning droppingat theone firstgreater nthan =the input
Husk, 4 bytes
ḟṗ↓N
ḟ # first element that
ṗ # is a prime, among
↓N # all integers, after dropping the first n = input