NOTATION $\ p(0)\!=\!2\quad p(1)\!=\!3\quad\ldots\ $ -- the strictly increasing sequence $\ \mathbb P\ $ of all primes.
Conjecture $$\forall_{k\in\mathbb Z_{>4}}\,\exists_{m\,n\in\mathbb P}\quad (\ k<m<n<k+p(k)\quad \&\quad p(m)\equiv p(n)\!\!\!\mod p(k)\ ) $$
Example Prime $\ p(5)=11\ $ supports the above conjecture:
- $\quad p(5)=11\ <\ p(8)=19\ <\ p(13)=41 $
- $\quad 19\equiv 41\mod 11 $
- $\quad 5\ <\ 8\ <\ 13\ <\ 5+p(5) = 16.$
A related simple observation (that I made at the beginning of starting the topic of consecutive primes):
Theorem Let primes $\ q\ $ and $\ p(m) \ldots p(n)\ $ be such that the sequence does not represent all residua mod $q$, but the sequence extended by either one of the primes $\ p(m-1)\ $ and $\ p(n+1)\ $ does in both cases. Then $\ p(m-1)\equiv p(n+1)\mod q.$
(This observation also relates to the equally obvious remark made by @EmilJerabek).