Laravel Query par relation

//Added use $request for my needs

Event::whereHas('participants', function ($query) use ($request) {
    return $query->where('IDUser', '=', $request->find_IDUser);
})->get();
D3signa