Stars can help you estimate a compass reference, but they do not directly mark the Qibla. You still need the bearing for your location.
Use Polaris only where it is visible
In the Northern Hemisphere, Polaris lies close to the north celestial pole and is an approximate true-north reference. It is not exactly at the pole or necessarily the brightest star. The two outer bowl stars of the Big Dipper can help locate it, but visibility depends on location, season and obstructions.
Bring the reference down to the horizon
The horizon direction beneath Polaris approximates north. Once you have north, apply your local Qibla bearing clockwise from it. Looking directly toward Polaris is not itself facing Qibla, and estimating a large angle by eye is imprecise.
Understand the Southern Hemisphere limit
Polaris is not a usable reference south of the equator. The Southern Cross can help experienced observers estimate the south celestial pole, but confusing it with other star patterns gives large errors. Do not use an unfamiliar constellation method as your only check.
Keep a backup
Clouds, light pollution and a blocked horizon can defeat star observations. A downloaded north-aligned map, known local reference or reliable compass is more practical in many places. For religious decisions when you cannot determine direction confidently, consult a qualified local scholar.
Common questions
Is Polaris the Qibla star?
No. It is an approximate north reference. The Qibla bearing must still be calculated from your location.
Can I use Polaris in Sydney?
No. Sydney is in the Southern Hemisphere, where Polaris is below the horizon.
Is a star estimate as precise as a survey?
No. Identification, horizon visibility and estimating angles by eye introduce uncertainty. Cross-check when possible.