Detect Magic

From Player's Handbook, page 231.

Description
1st-level divination (ritual)


 * Casting Time: 1 action
 * Range: Self
 * Components: V, S
 * Duration: Concentration, up to 10 minutes

For the duration, you sense the presence of magic within 30 feet of you. If you sense magic in this way, you can use your action to see a faint aura around any visible creature or object in the area that bears magic, and you learn its school of magic, if any.

The spell can penetrate most barriers, but it is blocked by 1 foot of stone, 1 inch of common metal, a thin sheet of lead, or 3 feet of wood or dirt.

Learned By

 * Classes: Artificer, Bard, Cleric, Druid, Paladin, Ranger, Sorcerer, Wizard
 * Subclasses: Cleric (Arcana Domain), Fighter (Eldritch Knight), Fighter (Monster Hunter), Paladin (Oath of the Watchers), Rogue (Arcane Trickster), Sorcerer (Aberrant Mind), Sorcerer (Divine Soul), Wizard (Theurgy)
 * Eldritch Invocations: Eldritch Sight
 * Races: Firbolg, Mark of Detection Half-elf, Owlin (UA)
 * Feats: Artificer Initiate, Drow High Magic, Fey Touched, Magic Initiate, Quicksmithing, Ritual Caster, Strixhaven Initiate